diff options
| author | EuAndreh <eu@euandre.org> | 2022-10-28 19:29:42 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-10-28 19:29:44 -0300 |
| commit | 985c0a1c81447f42a75b629109e0fa27a66291e3 (patch) | |
| tree | f3cf937a260589dfc92ca6a280b937510d94f4c5 /bin/vcs | |
| parent | bin/update: Log individual repositories being fetched (diff) | |
| download | dotfiles-985c0a1c81447f42a75b629109e0fa27a66291e3.tar.gz dotfiles-985c0a1c81447f42a75b629109e0fa27a66291e3.tar.xz | |
bin/vcs: Add initial git_gc() implementation
Effect: prune remote branches.
Diffstat (limited to 'bin/vcs')
| -rwxr-xr-x | bin/vcs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -156,6 +156,10 @@ mercurial_ps1() { BRANCH_NAME="$(hg branch)" } +git_gc() { + git remote prune origin "$@" +} + usage() { cat <<-'EOF' |
