In this post, I am going to list Git commands that you may require using on regular basis but don’t want to remember. Like the other tutorials Continue Reading
Git & Github Tutorials
The Git clean command can be used for removing the untracked files as follows: Forcefully deleting untracked files command: $ git clean -f For interactively deleting files, Continue Reading
The Git commit command is used to record the changes in the local repository. For example, you added new files, modified the existing files, removed files etc. Continue Reading
In its simplest definition, the Git push command can be taken as uploading the content to the remote repository. After adding a feature, making changes or other Continue Reading
A file can be removed easily from Git index and working directory by Git rm command. For example: git rm some_file After adding a file in Git, Continue Reading
As the name suggests, the merge command is used to join the histories of two or more developments. For example, if your main branch is the master Continue Reading
In our other tutorials, we saw how to use the command for git push with force option if simple push command is generating errors or warnings. For Continue Reading
In this tutorial, I will explain how to add a new remote repository, a branch, and file in the remote repository from the terminal (Git Bash). Adding Continue Reading
There will be different scenarios when you require undoing a commit in Git. Depending on the type, level of criticalness you may use different options/commands for reverting Continue Reading
The command to list all branches in local and remote repositories is: $ git branch -a If you require only listing the remote branches from Git Bash Continue Reading
Before explaining what is Git pull command and how it works, let me show you a simple command that pulls a remote branch from the Github repository Continue Reading
In this tutorial, I will explain how to remove Git branches locally as well as in the remote server. First, let us have a look at the Continue Reading
If you have multiple branches in your repository then switching from one branch to another is easy. For changing one branch to another use the checkout command Continue Reading
This tutorial explains how to create a new branch in Git (locally and remotely). For details, see the section after the general command below. Suppose you want to Continue Reading