mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Initial Commit
This commit is contained in:
commit
e726aebd5b
22 changed files with 1098 additions and 0 deletions
6
private_dot_local/bin/executable_,git-prune
Normal file
6
private_dot_local/bin/executable_,git-prune
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Cleaning remote branches"
|
||||
git remote prune origin
|
||||
echo "Cleaning local branches"
|
||||
git for-each-ref --format '%(refname:short)' refs/heads | grep -v master | xargs git branch -D
|
||||
Loading…
Add table
Add a link
Reference in a new issue