Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion git-guards/scripts/git-permission-guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
("push --force-with-lease", "Overwrites remote history"),
("push --force", "Overwrites remote history"),
("push -f", "Overwrites remote history"),
("worktree remove", "Removes worktree directory"),
("worktree remove --force", "Removes worktree directory, discarding uncommitted changes"),
("worktree remove -f", "Removes worktree directory, discarding uncommitted changes"),
("cherry-pick", "Rewrites commit history"),
("merge", "Can create merge commits or conflicts"),
("reset", "Can lose uncommitted work permanently"),
Expand Down
Loading