Skip to content

Instantly share code, notes, and snippets.

@EugeneLoy
Created August 22, 2017 10:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EugeneLoy/69aab44b148900ca5aab08e2fd737b98 to your computer and use it in GitHub Desktop.
Save EugeneLoy/69aab44b148900ca5aab08e2fd737b98 to your computer and use it in GitHub Desktop.
git config
export PS1='\[\033[01;37m\]\u@\h\[\033[01;32m\] \w $(__git_ps1 "\n[%s]")
\$\[\033[00m\] '
[user]
name = Eugene Loy
email = eugeny.loy@gmail.com
[core]
ignorecase = false
editor = gedit
# editor = notepad
# autocrlf = true
[color]
branch = auto
diff = auto
status = auto
[mergetool "tortoise"]
cmd = "TortoiseMerge.exe" -base:"$BASE" -theirs:"$REMOTE" -mine:"$LOCAL" -merged:"$MERGED"
[merge]
tool = meld
# tool = tortoise
[pretty]
reflog-oneline = %Cgreen%h %gd %Creset%gs %Cblue(%ar)%Creset
commit-oneline = %n%Cgreen%h %Creset%s %Cblue(%ar)%Creset
[alias]
st = status -s -u
br = branch
ch = checkout
s = stash
sp = stash pop
rl = log -g
# rl = log -g --format=reflog-oneline
wc = whatchanged
# wc = whatchanged --format=commit-oneline
mt = mergetool -y
ar = archive --format zip -o
cl = clean -f -d
rs = remote show
ru = remote update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment