-
-
Save dlsso/f8155de8f8eba2037fb6 to your computer and use it in GitHub Desktop.
Revisions
-
dlsso revised this gist
Jul 15, 2016 . 2 changed files with 27 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,12 +0,0 @@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,27 @@ export CLICOLOR=1 export LSCOLORS=GxFxCxDxBxegedabagaced test -f ~/.git-completion.bash && . $_ alias ..='cd ..' alias ...='cd ../..' alias ip="ipconfig getifaddr en0" alias exip="curl http://ipecho.net/plain; echo" alias gp='git push' alias gs='git status' md() { mkdir $1 cd $1 } gc() { git add -A git commit -m "$1" } gpn() { local branch_name=`git symbolic-ref HEAD 2>/dev/null | cut -d"/" -f 3` git push -u origin $branch_name } prune() { git fetch -p git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -d } -
dlsso created this gist
Jan 15, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ alias ..='cd ..' alias ...='cd ../..' md() { mkdir $1 cd $1 } gc() { git add -A git commit -m "$1" } alias gp='git push' alias gs='git stash'