-
-
Save Lasha/3903778 to your computer and use it in GitHub Desktop.
Public Global .gitconfig
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 characters
[user] | |
name = John Doe | |
email = [email protected] | |
[color] | |
ui = true | |
status = auto | |
branch = auto | |
[alias] | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
wc = whatchanged | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
cl = log --stat --no-merges --pretty=format:'%ai: %an | %s' |
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 characters
# Ditch SVN folders for packaging. Brute force. | |
alias cleansvn='find . -name "\.svn" -type d -depth -exec rm -rf {} ";"' | |
# Package, download, and unpack tarballs. | |
alias pack='tar --exclude=".DS_STORE" -pvczf ../archive.tar.gz .' | |
alias pull='curl -O' | |
alias push='tar -zxvf' | |
# Useful python shortcuts for a static server and JSON prettyprinting. | |
alias ss='python -m SimpleHTTPServer' | |
alias json='python -m json.tool' | |
# Useful if you've installed hub-- which you should, if you use github. | |
alias git="hub" | |
# Terminal colors! Oh happy day! | |
export CLICOLOR=1 | |
export LSCOLORS=exfxcxdxbxexexabagacada | |
export COPY_EXTENDED_ATTRIBUTES_DISABLE=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment