Skip to content

Commit

Permalink
git: add empty commit alias
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagowfx committed Jan 3, 2025
1 parent baf6fa5 commit c605b99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
default = !git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
desc = commit --allow-empty -n
emerge = !git add -A . && git amend -n && git pushm --force-with-lease
empty = desc -m "empty commit"
nb = switch --create
nbt = !git nb "thiagowfx/$(shuf -n1 /usr/share/dict/words | tr '[:upper:]' '[:lower:]')"
pullm = !git pull $(git remote | head -1) $(git branch --show-current):$(git branch --show-current)
Expand Down

0 comments on commit c605b99

Please sign in to comment.