From 92407c0ce7977506469fc8296ea886bbb5c6b2c9 Mon Sep 17 00:00:00 2001 From: Laily Date: Sun, 8 Dec 2019 15:19:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E7=9A=84=20git=20=E5=BF=BD=E7=95=A5=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitconfig => git/.gitconfig | 1 + git/.gitignore | 30 ++++++++++++++++++++++++++++++ init.sh | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) rename .gitconfig => git/.gitconfig (88%) create mode 100644 git/.gitignore diff --git a/.gitconfig b/git/.gitconfig similarity index 88% rename from .gitconfig rename to git/.gitconfig index d9a70a4..23c80d2 100644 --- a/.gitconfig +++ b/git/.gitconfig @@ -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 diff --git a/git/.gitignore b/git/.gitignore new file mode 100644 index 0000000..98974d3 --- /dev/null +++ b/git/.gitignore @@ -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 \ No newline at end of file diff --git a/init.sh b/init.sh index 084c12f..5b33d31 100644 --- a/init.sh +++ b/init.sh @@ -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