chore(git): add comprehensive Git workflow configuration and documentation
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
51
.gitconfig
Normal file
51
.gitconfig
Normal file
@@ -0,0 +1,51 @@
|
||||
# Git Configuration for MEV Bot Project
|
||||
|
||||
This file contains the Git configuration settings for the MEV Bot project.
|
||||
|
||||
## Project-Level Git Configuration
|
||||
|
||||
```ini
|
||||
[core]
|
||||
autocrlf = input
|
||||
editor = code --wait
|
||||
excludesfile = ~/.gitignore
|
||||
|
||||
[push]
|
||||
default = simple
|
||||
|
||||
[pull]
|
||||
rebase = true
|
||||
|
||||
[merge]
|
||||
tool = vimdiff
|
||||
|
||||
[diff]
|
||||
tool = vimdiff
|
||||
|
||||
[color]
|
||||
ui = auto
|
||||
|
||||
[help]
|
||||
autocorrect = 1
|
||||
|
||||
[alias]
|
||||
st = status
|
||||
co = checkout
|
||||
br = branch
|
||||
ci = commit
|
||||
unstage = reset HEAD --
|
||||
last = log -1 HEAD
|
||||
graph = log --oneline --graph --decorate --all
|
||||
amend = commit --amend
|
||||
fixup = commit --fixup
|
||||
undo = reset --soft HEAD~1
|
||||
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
|
||||
who = shortlog -s --
|
||||
grep = grep -I
|
||||
|
||||
[rerere]
|
||||
enabled = true
|
||||
|
||||
[push]
|
||||
followTags = true
|
||||
```
|
||||
Reference in New Issue
Block a user