Renamed a lot of @ben_h's git aliases to the ones used at the office

pull/2/head
Bodaniel Jeanes 2009-06-11 10:05:32 +10:00
parent ebd5920356
commit 4e3e1b216b
24 changed files with 19 additions and 51 deletions

View File

@ -1,3 +1,3 @@
function gita
function ga
git add $argv;
end

View File

@ -1,3 +1,3 @@
function gitau
function gau
git add -u $argv;
end

View File

@ -1,3 +1,3 @@
function gitc
function gc
git commit -v $argv;
end

View File

@ -1,3 +1,3 @@
function gitco
function gco
git checkout $argv;
end

View File

@ -0,0 +1,3 @@
function gd
git diff $argv | mate;
end

View File

@ -0,0 +1,3 @@
function gdc.
git diff --cached --color-words='.' $argv | mate;
end

View File

@ -0,0 +1,3 @@
function gdc
git diff --cached $argv | mate;
end

View File

@ -1,3 +0,0 @@
function gitd.
git diff --color-words='.' $argv;
end

View File

@ -1,3 +0,0 @@
function gitd
git diff $argv;
end

View File

@ -1,3 +0,0 @@
function gitdc.
git diff --cached --color-words='.' $argv;
end

View File

@ -1,3 +0,0 @@
function gitdc
git diff --cached $argv;
end

View File

@ -1,4 +0,0 @@
function gitdcw
git diff --cached $color_ruby_words $argv
end

View File

@ -1,5 +0,0 @@
function gitdw
git diff $color_ruby_words $argv
end

View File

@ -1,3 +0,0 @@
function gitl
git log -p $argv;
end

View File

@ -1,3 +0,0 @@
function gitlcg
gitlc --graph $argv;
end

View File

@ -1,3 +0,0 @@
function gitrb
git rebase $argv;
end

View File

@ -1,3 +0,0 @@
function gitrbc
git rebase --continue $argv;
end

View File

@ -1,3 +0,0 @@
function gitst
git stash $argv;
end

View File

@ -1,3 +0,0 @@
function gitstp
git stash pop $argv;
end

View File

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

View File

@ -1,3 +1,3 @@
function gitlc
function glc
git log $git_concise_log_format $argv;
end

View File

@ -0,0 +1,3 @@
function glcg
gslc --graph $argv;
end

View File

@ -1,4 +1,4 @@
function gitlpend
function glp
printf "commits from %s%s/%s%s to %sHEAD%s" (set_color red) (git config branch.(git_parse_branch).remote) (git_parse_branch) (set_color normal) (set_color red) (set_color normal)
echo
git --no-pager log --graph (git config branch.(git_parse_branch).remote)/(git_parse_branch)..HEAD $git_concise_log_format

View File

@ -1,3 +1,3 @@
function gits
function gst
git status $argv;
end