Toggle navigation
Toggle navigation
This project
Loading...
Sign in
qingger
/
allProject
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
shipfi@thinkpad
2016-09-13 11:42:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9519b88ad0553adda68c15a65f0dd74abb8aafea
9519b88a
1 parent
ade8f82e
Git Config
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
Docs/GITBOOK/CodeHelping/Git/gitConfig.md
Docs/GITBOOK/CodeHelping/Git/gitConfig.md
0 → 100644
View file @
9519b88
## GIT CONFIG 设定 ##
[
alias
]
st = status
co = checkout
ci = commit
br = branch
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)
<
%an>%Creset' --abbrev-commit
lol = log --graph --decorate --pretty=oneline --abbrev-commit
unstage = reset HEAD
last = log -1
rb = reset --hard
[
color
]
ui = auto
[
core
]
autocrlf = false
safecrlf = true
editor = vim
[
diff
]
tool = p4merge
[
difftool "p4merge"
]
cmd = p4merge.exe $LOCAL $REMOTE
path = D:
\\
Program Files
\\
Perforce
\\
p4merge.exe
[
difftool
]
prompt = false
[
merge
]
tool = p4merge
[
mergetool "p4merge"
]
cmd = p4merge.exe $BASE $LOCAL $REMOTE $MERGED
path = D:
\\
Program Files
\\
Perforce
\\
p4merge.exe
[
mergetool
]
prompt = false
trustExitCode = false
keepBackup = false
\ No newline at end of file
Please
register
or
login
to post a comment