Skip to content

Commit

Permalink
feat(git): add purge alias
Browse files Browse the repository at this point in the history
The combination of -d and -X is especially convenient for removing
`node_modules` from mono repositories.

Basically -f is always needed to make git clean do anyting useful.
  • Loading branch information
matijs committed Nov 7, 2024
1 parent 728511e commit b6cf1de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
difft = -c diff.external=difft diff
fixup = commit --fixup=HEAD
please = push --force-with-lease
purge = clean -dfX
remotes = remote --verbose
root = rev-parse --show-toplevel
whoami = config --get user.email
Expand Down

0 comments on commit b6cf1de

Please sign in to comment.