Last active
January 19, 2017 08:31
-
-
Save ducksoupdev/b7ea9870f821717dd187a6328aca9ed9 to your computer and use it in GitHub Desktop.
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
| function git-status { git status } | |
| function git-add { git add $args } | |
| function git-branch { git branch $args } | |
| function git-commit { git commit $args } | |
| function git-diff { git diff $args } | |
| function git-checkout { git checkout $args } | |
| function git-log { git log --graph --pretty=format:"%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset" --abbrev-commit --date=relative } | |
| function git-remote-update { git remote update } | |
| function git-pull-rebase { git pull --rebase } | |
| set-alias -Name gits -Value "git-status" | |
| set-alias -Name gita -Value "git-add" | |
| set-alias -Name gitb -Value "git-branch" | |
| set-alias -Name gitc -Value "git-commit" | |
| set-alias -Name gitd -Value "git-diff" | |
| set-alias -Name gito -Value "git-checkout" | |
| set-alias -Name gitl -Value "git-log" | |
| set-alias -Name gitr -Value "git-remote-update" | |
| set-alias -Name gitp -Value "git-pull-rebase" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment