Skip to content

arzhna/gitconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alias

ci = commit
st = status
co = checkout
last = log -1 HEAD
hist = log --graph --abbrev-commit --since=4.weeks --decorate --pretty=format:'%C(bold yellow)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold red)%d%C(reset)%n''%C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all

git-prompt

$ vi ~/.bash_profile or $ vi ~/.bashrc

# Load .git-prompt.sh
source ~/.git-prompt.sh

...

export PS1=' \[\033[35m\]\u@\h \[\033[33m\]\w\[\033[32m\]$(__git_ps1)\[\033[36m\]$ \[\033[m\]'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages