Skip to content

Commit

Permalink
add git poke alias
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyEnr1quez committed Sep 3, 2024
1 parent e21f571 commit da73c89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/home-manager/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
last = "log -1 HEAD";
aa = "!git add . && git commit --amend --no-edit";
amend = "commit --amend";
poke = "!(git diff --exit-code --quiet && git diff --cached --exit-code --quiet) && git commit --allow-empty -m 'poke' || echo stash or revert any changes for ur poke";
};
};
}

0 comments on commit da73c89

Please sign in to comment.