# Git Command
alias last = log -1 HEAD
alias who = shortlog -s --
alias unstage = reset -q HEAD --
alias discard = checkout --
alias nevermind = !git reset --hard HEAD && git clean -df
alias uncommit = reset --mixed HEAD~
alias save = commit -m
alias resave = commit --amend
alias last = log -1 HEAD --format = format:%Cred%H
alias summary = status -u -s
alias new-branch = checkout -b
alias rename-branch = branch -m
alias delete-branch = branch -D
alias branches = branch -a
alias stashes = stash list
alias unmerged = branch --no-merged
alias unstash = stash pop
alias unmerged = diff --name-only --diff-filter=U
alias patch = add --patch
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice post! Thank you!
My aliases: