Skip to content

Commit

Permalink
feat: add aliases to reset / checkout head
Browse files Browse the repository at this point in the history
  • Loading branch information
tagoro9 committed Mar 19, 2021
1 parent 6fd83d8 commit 1915ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@
# Checkout a branch by its issue id
coi= "!f(){ git branch -ra | grep -m 1 $1| xargs git co ;};f"
brdi = "!f(){ git branch -ra | grep -m 1 $1| xargs git br -D ;};f"
chd = checkout HEAD .
ci = commit
cia = commit --amend
cian = commit --amend --no-edit
st = status
br = branch
rhd = reset HEAD .
rb = rebase
rbc = rebase --continue
rba = rebase --abort
Expand Down

0 comments on commit 1915ff1

Please sign in to comment.