I want all the branches at my disposal
git fetchChange branches.
git checkout <branch_name>
## or ##
gco <branch_name>Create new branch and switch to it.
git branch -b <branch_name>
## or ##
gcb <branch_name>Delete the branch called branch.
git branch -d <branch>
## or ##
gb -d <branch>Rename the current channel to new_branch_name.
git branch -m <new_branch_name>
## or ##
gb -m <new_branch_name>I didn't mean to add file_name!!!
git reset <file_name>I need to pretend the last five minutes didn't happen. (Assuming you committed intact_commit five minutes ago.)
git reset --hard <intact_commit>
git push origin <branch> -f
## or ##
grh <intact_commit>
ggp <branch> -fI need to change the commit message on the last unpushed commit.
git commit --amend
## or ##
gca<commit_message>
<Ctrl+X to save and exit>