feat: 添加全局的 git 忽略文件
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
autocrlf = input
|
||||
quotepath = false
|
||||
editor = /usr/local/bin/nvim
|
||||
excludesfile = ~/.dotfile/git/.gitignore
|
||||
[alias]
|
||||
merge2 = "!f() { git checkout $1 && git merge $2 && git checkout -; }; f"
|
||||
au = add -u
|
||||
@@ -0,0 +1,30 @@
|
||||
*.a
|
||||
*.so
|
||||
_obj
|
||||
_test
|
||||
*.cgo1.go
|
||||
*.cgo2.c
|
||||
_cgo_defun.c
|
||||
_cgo_gotypes.go
|
||||
_cgo_export.*
|
||||
_testmain.go
|
||||
*.exe
|
||||
*.exe~
|
||||
*.test
|
||||
*.prof
|
||||
*.rar
|
||||
*.zip
|
||||
*.gz
|
||||
*.psd
|
||||
*.bmd
|
||||
*.cfg
|
||||
*.pptx
|
||||
*.log
|
||||
*nohup.out
|
||||
*settings.pyc
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
.idea/
|
||||
.vscode/
|
||||
.DS_Store
|
||||
.log
|
||||
@@ -6,5 +6,5 @@ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/to
|
||||
ln -sf ~/.dotfile/.zshrc ~/
|
||||
ln -sf ~/.dotfile/laily.zsh-theme ~/.oh-my-zsh/themes/
|
||||
ln -sf ~/.dotfile/.tmux.conf ~/
|
||||
ln -sf ~/.dotfile/.gitconfig ~/.gitconfig
|
||||
ln -sf ~/.dotfile/git/.gitconfig ~/.gitconfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user