Skip to content

Commit

Permalink
feat(git): adjust aliases, add dev base soft reset alias
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftgeist committed Jun 4, 2024
1 parent 9be4b6c commit 1418bdc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@
br = branch --sort=-committerdate
co = checkout
lo = !git log --graph --oneline --decorate $(git rev-parse --abbrev-ref HEAD) $(git config --global init.defaultBranch)
st = status
pl = pull
pls = pull --autostash
pu = push
puf = push --force-with-lease
pushf = push --force-with-lease
push-up = !git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)
reset-hard = !git reset --hard origin/$(git rev-parse --abbrev-ref HEAD) && git clean -f -q .
pushf = push --force-with-lease
reset-hardest = !git reset --hard origin/$(git rev-parse --abbrev-ref HEAD) && git clean -f -q .
reset-base-dev = !git reset --soft $(git merge-base dev HEAD)
rice = !git --git-dir=$HOME/code/horiceon --work-tree=$HOME
st = status

[pull]
rebase = true
Expand Down

0 comments on commit 1418bdc

Please sign in to comment.