diff options
Diffstat (limited to 'home/git/.gitconfig')
| -rw-r--r-- | home/git/.gitconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/git/.gitconfig b/home/git/.gitconfig index cb3a40c..59bbc6e 100644 --- a/home/git/.gitconfig +++ b/home/git/.gitconfig @@ -1,3 +1,4 @@ [alias] sync = !git add -A && git commit && git push - nuke = !git clean -df && git reset --hard
\ No newline at end of file + nuke = !git clean -df && git reset --hard + prune-remotes = !git pack-refs --all && git update-ref -d refs/remotes/origin/HEAD && git update-ref -d refs/remotes/origin/main
\ No newline at end of file |
