mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 09:24:17 +01:00
Add the tilde to reference the last commit in .zsh_aliases
This commit is contained in:
parent
078872408f
commit
8af65b0825
@ -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`"
|
||||
|
Loading…
Reference in New Issue
Block a user