1
0
forked from extern/nix-config

Add more git aliases to .zsh_aliases

This commit is contained in:
Donovan Glover 2017-12-22 23:33:57 -05:00
parent c9597b3760
commit 13a0e4b294
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D

View File

@ -82,6 +82,7 @@ alias todo="ag TODO"
alias g="git" # In case we ever need to type a full command
alias ga="git add" # Swiftly add new files to the repository
alias gaa="git add --all" # Quickly add all the files changed in a repository
alias gap="git add --patch" # Commit a file one part at a time
alias gc="git commit -m" # Easily create new commits
alias gd="git diff" # Show all file changes that you haven't added yet
@ -91,6 +92,7 @@ alias gp="git push" # Push your commits to remote (usually origi
alias gs="git status" # Compare any local changes you've made to the remote
alias gr="git reset HEAD~" # Undo the last commit but keep your changed files
alias grr="git reset --hard HEAD~" # Remove the last commit and all changes with it
alias gl="git lg" # Quickly show a list of the most recent commits
####################################################################
# Launch aliases (allow us to easily open external programs)