Skip to content

Instantly share code, notes, and snippets.

@xguse
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xguse/7ccb78c2eb54f960bcaa to your computer and use it in GitHub Desktop.
Save xguse/7ccb78c2eb54f960bcaa to your computer and use it in GitHub Desktop.
git aliases for #zshrc
#### git stuff
alias gitac="git add --all; git commit -a"
alias gitsub-up="git submodule update --init --recursive"
alias gitaczulu="gitac -m "$(zulu_time)""
alias gitraze="git clean -df; git reset --hard HEAD"
alias gitpp="git pull; git push"
alias gitzp="gitaczulu ; gitpp"
alias gitm="git merge --no-ff"
alias gitco="git checkout"
alias gitstat="git status"
export GITREPOS="${HOME}/src/repos/git"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment