Skip to content

Commit

Permalink
git: gham pr approve & merge
Browse files Browse the repository at this point in the history
  • Loading branch information
appaquet committed Oct 22, 2024
1 parent 4073d0d commit 1dde371
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions home-manager/modules/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
grws = "git restore --staged --worktree";
ghpr = "gh pr create --draft --body \"\" --title";
ghck = "git checkout (gh-pr-select)";
gham = {
expansion = "for pr in %; gh pr review --approve $pr; gh pr merge --merge --auto $pr; end";
setCursor = true;
};
gts = "git checkout (git-tag-select)";
gau = "git add -u";
gad = "git add .";
Expand Down

0 comments on commit 1dde371

Please sign in to comment.