소스 검색

Add git configuration

Thomas Dy 9 년 전
부모
커밋
9475b36fd2
2개의 변경된 파일70개의 추가작업 그리고 0개의 파일을 삭제
  1. 18 0
      .gitconfig
  2. 52 0
      .gitignore_global

+ 18 - 0
.gitconfig

@@ -0,0 +1,18 @@
+[user]
+	name = Thomas Dy
+	email = thatsmydoing@gmail.com
+[core]
+	excludesfile = ~/.gitignore_global
+	autocrlf = input
+[color]
+	ui = true
+[diff]
+	algorithm = patience
+[push]
+	default = matching
+[alias]
+	root = !pwd
+	assume   = update-index --assume-unchanged
+	unassume = update-index --no-assume-unchanged
+	assumed  = "!git ls-files -v | grep ^h | cut -c 3-"
+	lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"

+ 52 - 0
.gitignore_global

@@ -0,0 +1,52 @@
+# Compiled source #
+###################
+*.class
+*.dll
+*.exe
+*.o
+*.so
+*.pyc
+
+# Packages #
+############
+# it's better to unpack these files and commit the raw source
+# git has its own built in compression methods
+*.7z
+*.dmg
+*.gz
+*.iso
+*.rar
+*.tar
+*.zip
+
+# Logs and databases #
+######################
+*.log
+*.sqlite
+
+# OS generated files #
+######################
+.DS_Store
+.DS_Store?
+._*
+.Spotlight-V100
+.Trashes
+Icon?
+ehthumbs.db
+Thumbs.db
+.sass-cache
+
+# Project files #
+#################
+/*.sublime-workspace
+/.idea
+
+# Build scripts #
+#################
+/build.sh
+/run.sh
+
+# Swap files #
+##############
+*.sw?
+tags