Created
November 16, 2018 12:12
-
-
Save henryw374/487ad79bbcf59bc0bf79e5f26e348d3c to your computer and use it in GitHub Desktop.
some git aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias commit='git commit -a -m ' | |
alias glog='git log --pretty=oneline' | |
alias glog='git log --pretty=format:"%h%x09%an%x09%ad%x09%s"' | |
alias gsoft='git reset --soft HEAD~1' | |
alias gshowf='git show --name-only' | |
alias gshow='git diff-tree --no-commit-id --name-only -r ' | |
alias gint='git rebase --interactive ' | |
alias ginto='git rebase --interactive origin/master' | |
alias rgc='git rebase --continue' | |
alias rga='git rebase --abort' | |
alias rgs='git rebase --skip' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment