Skip to content

Commit

Permalink
Add more aliases for gcurrent_commit_hash_cp
Browse files Browse the repository at this point in the history
  • Loading branch information
GMadorell committed May 18, 2022
1 parent b1843f7 commit 033e192
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,10 @@ function gcurrent_commit_hash_cp() {
alias gchashcp=gcurrent_commit_hash_cp
alias gcommit_hash_cp=gcurrent_commit_hash_cp
alias ghashcp=gcurrent_commit_hash_cp
alias gcopylastcommithash=gcurrent_commit_hash_cp
alias gcopy_last_commit_hash=gcurrent_commit_hash_cp
alias gcplastcommithash=gcurrent_commit_hash_cp
alias glastcommithashcp=gcurrent_commit_hash_cp

alias grh="git reset --hard"
function grh_same_branch_origin() { git reset --hard "origin/$(gcurrent_branch_name)" ; }
Expand Down

0 comments on commit 033e192

Please sign in to comment.