Showing 3 Result(s)

How to UNDO ‘git add’ before commit

Sometimes¬†we might add files in the git to be committed which we actually don’t want to. In such a case before committing the changes we would want to undo the add or remove the file(s) from the list which we don’t want. Here is how we do it: this particular line removes the one file …

Rename Local Branch in GIT

There are two possible states you can be when you might want to rename local branch in git. When you want to rename current branch: When you want to rename¬†other branches than your current branch: