1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2025-01-23 21:16:45 +00:00

Move fish git aliases to .gitconfig aliases

This commit is contained in:
Phantop 2020-07-20 16:28:32 -04:00
parent c3f2134afc
commit acaa527288
18 changed files with 17 additions and 57 deletions

View file

@ -1,3 +0,0 @@
function ga
git commit -a $argv
end

View file

@ -1,3 +0,0 @@
function gad
git add $argv
end

View file

@ -1,3 +0,0 @@
function gb
git branch $argv
end

View file

@ -1,3 +0,0 @@
function gc
git commit $argv
end

View file

@ -1,3 +0,0 @@
function gca
git commit --amend $argv
end

View file

@ -1,3 +0,0 @@
function gch
git checkout $argv
end

View file

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

View file

@ -1,3 +0,0 @@
function gg
git clone $argv
end

View file

@ -1,3 +0,0 @@
function gl
git log $argv
end

View file

@ -1,3 +0,0 @@
function gp
git pull $argv
end

View file

@ -1,4 +0,0 @@
# Defined in /home/glados/.config/fish/functions/gpu.fish @ line 1
function gpu
git push $argv
end

View file

@ -1,4 +0,0 @@
# Defined in /tmp/fish.lGSA7G/gpue.fish @ line 1
function gpue
gpu $argv; exit
end

View file

@ -1,4 +0,0 @@
# Defined in /tmp/fish.RX2lTd/gpuf.fish @ line 1
function gpuf
gpu -f $argv
end

View file

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

View file

@ -1,3 +0,0 @@
function gs
git status $argv
end

View file

@ -1,4 +0,0 @@
function gsu
git submodule update --init --recursive
git submodule foreach git pull origin master
end

View file

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

View file

@ -30,3 +30,20 @@
insteadOf = "gl:"
[color]
ui = auto
[alias]
a = commit -a
ad = add
b = branch
c = commit
ca = commit --amend
ch = checkout
cl = gc --aggressive --prune=now
g = clone
l = log
p = pull
pu = push
puf = push -f
r = reset --hard
s = status
su = submodule update --init --recursive
w = clean -fdx