Delete a branch
Deletes a local branch.
The Git snippet collection contains a variety of short tips and tricks for all currently maintained versions of git. It includes most commonly-used commands and covers various use-cases in the form of simplified documentation, complete with multiple examples.
Deletes a local branch.
Renames a branch both locally and on the remote.
Displays differences between staged or unstaged changes and the last commit.
Discards all uncommitted changes to the current branch.
Restores a file deleted in a specific commit.
Displays the difference between two branches.
Creates and switches to a new branch, optionally setting up a remote tracking branch.
Discards all untracked changes to the current branch.
Rebases the current branch onto another branch.
Renames a local branch.
Switches to an existing branch.
Switches back to the last branch.