1
0
forked from extern/nix-config

Add the tilde to reference the last commit in .zsh_aliases

This commit is contained in:
Donovan Glover 2017-11-03 22:42:38 -04:00
parent 078872408f
commit 8af65b0825
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D

View File

@ -64,8 +64,8 @@ alias gc="git commit -m" # Easily create new commits
alias gd="clear && git diff" # Dedicate the entire window to showing file changes
alias gp="git push" # Push your commits to remote (usually origin)
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 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
# Easily cd into the "home" directory of any repository you're working in
alias gh="cd `git rev-parse --show-toplevel`"