init .config git tracking
This commit is contained in:
commit
114c330966
151 changed files with 4688 additions and 0 deletions
12
config/fish/functions/__git.delete_branches.fish
Normal file
12
config/fish/functions/__git.delete_branches.fish
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function __git.delete_branches -d "Delete multiple branches"
|
||||
argparse f/force -- $argv
|
||||
|
||||
if set -ql _flag_force
|
||||
set -f delete_flag -D
|
||||
else
|
||||
set -f delete_flag -d
|
||||
end
|
||||
for branch in $argv
|
||||
git branch $delete_flag $branch
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue