Created
September 13, 2017 16:15
-
-
Save kovalbogdan95/6f6712f427e244d664f7348b3b60767e to your computer and use it in GitHub Desktop.
Terminal config
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
Add to .bashrc | |
GIT_PS1_SHOWDIRTYSTATE=true | |
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1)\[\033[00m\]\[\033[01;34m\] \$\[\033[00m\] ' | |
Add to .gitconfig | |
[user] | |
name = | |
email = | |
[core] | |
editor = vim | |
[merge] | |
tool = kdiff3 | |
[color] | |
ui = true | |
status = auto | |
branch = auto | |
diff = auto | |
interactive = auto | |
[alias] | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
lga = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all | |
lg1 = log -p --stat -n 1 | |
st = status | |
ci = commit | |
co = checkout | |
[push] | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment