How to delete a Git branch locally and remotely
Git local branch can be deleted using git branch -d and remote branch can be deleted using git branch -D command.
Git local branch can be deleted using git branch -d and remote branch can be deleted using git branch -D command.
Have you ever faced a situation where you left something out of your last commit ? It may be a file or an extra change to a file you just committed. Such kind of scenarios can easily be handled with Git amend command .
Have you faced a merge conflict while performing git rebase operation ? This is quite possible if two commits modify the same line in the same file. Now git is confused which change to apply.