Created
June 4, 2015 05:44
-
-
Save JonahMoses/78c9e8d1c755859cb32b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function gs | |
2 git status $argv | |
3 end | |
4 | |
5 function gb | |
6 git branch $argv | |
7 end | |
8 | |
9 function gp | |
10 git push origin master $argv | |
11 end | |
12 | |
13 function ga | |
14 git add -A:/ $argv | |
15 end | |
16 | |
17 function gh | |
18 git log --pretty=format:'%h - %ad (%ar) - [%an] : %s' --date=short --graph --since=5.months $argv | |
19 end | |
20 | |
21 function gbx | |
22 git branch -D $argv | |
23 end | |
24 | |
25 function gbc | |
26 git checkout -b $argv | |
27 end | |
28 | |
29 function gco | |
30 git checkout $argv | |
31 end | |
32 | |
33 function gcm | |
34 git commit -m "$argv" | |
35 end | |
36 | |
37 function gca | |
38 git commit --ammend | |
39 end | |
40 | |
41 function diff | |
42 git diff | gitx | |
43 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment