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:
parent
c3f2134afc
commit
acaa527288
|
@ -1,3 +0,0 @@
|
|||
function ga
|
||||
git commit -a $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gad
|
||||
git add $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gb
|
||||
git branch $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gc
|
||||
git commit $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gca
|
||||
git commit --amend $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gch
|
||||
git checkout $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.t8Y7sg/gcl.fish @ line 2
|
||||
function gcl
|
||||
git gc --aggressive --prune=now
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gg
|
||||
git clone $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gl
|
||||
git log $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gp
|
||||
git pull $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /home/glados/.config/fish/functions/gpu.fish @ line 1
|
||||
function gpu
|
||||
git push $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.lGSA7G/gpue.fish @ line 1
|
||||
function gpue
|
||||
gpu $argv; exit
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.RX2lTd/gpuf.fish @ line 1
|
||||
function gpuf
|
||||
gpu -f $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined in /tmp/fish.4ITsNE/gr.fish @ line 1
|
||||
function gr
|
||||
git reset --hard
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gs
|
||||
git status $argv
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
function gsu
|
||||
git submodule update --init --recursive
|
||||
git submodule foreach git pull origin master
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function gw
|
||||
git clean -fdx
|
||||
end
|
17
.gitconfig
17
.gitconfig
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue