1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-01-28 15:36:54 +00:00

Fish: clean git functions for safer, neater use

This commit is contained in:
Phantop 2020-07-20 16:11:22 -04:00
parent 01bb5d4eb6
commit 7b9854d57b
7 changed files with 11 additions and 21 deletions

View file

@ -1,4 +0,0 @@
# Defined in /tmp/fish.3rbNOq/aud.fish @ line 1
function aud
audacious -H $argv
end

View file

@ -1,6 +0,0 @@
# Defined in /tmp/fish.UMey6t/fuckgit.fish @ line 2
function fuckgit
git reset --hard
git clean -fdx
git gc --aggressive --prune=now
end

View file

@ -0,0 +1,4 @@
# Defined in /tmp/fish.t8Y7sg/gcl.fish @ line 2
function gcl
git gc --aggressive --prune=now
end

View file

@ -0,0 +1,4 @@
# Defined in /tmp/fish.4ITsNE/gr.fish @ line 1
function gr
git reset --hard
end

View file

@ -0,0 +1,3 @@
function gw
git clean -fdx
end

View file

@ -1,7 +0,0 @@
function motherfuckgit
git clean -xfd
git submodule foreach --recursive git clean -xfd
git reset --hard
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive
end

View file

@ -1,4 +0,0 @@
function remotegit
git fetch origin
git reset --hard origin/master
end