Browse Source

add command for git alias

pull/1/head
10sr 12 years ago
parent
commit
cb72eaedd3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      .profile

+ 3
- 0
.profile View File

@@ -33,6 +33,9 @@ type git 1>/dev/null 2>&1 && test ! -f ~/.gitconfig && {
git config --global user.name "10sr"
git config --global user.email sr10@users.sourceforge.jp
git config --global core.autocrlf false
git config --global alias.log-all "log --graph --all --color --pretty='%x09%h %cn%x09%s %Cred%d%Creset'"
git config --global alias.log-all2 'log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short'
git config --global alias.log-all3 "log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short"
# git config --global github.token **
}



Loading…
Cancel
Save