Support global gitignore
Keep project-specific gitignore files clean.
This commit is contained in:
parent
4ccfe6238e
commit
f84a9c6438
2 changed files with 6 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
[alias]
|
||||
recent = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format=\"%(refname:short)\"
|
||||
today = ! git log --date=relative --since=00:00:00 --all --no-merges --oneline --author=\"$(git config --get user.email)\"
|
||||
changed-files = ! git diff --name-only $(current_branch) $(git merge-base $(current_branch) master)
|
||||
conflicts = diff --name-only --diff-filter=U
|
||||
changed-files = ! git --no-pager diff --name-only $(current_branch) $(git merge-base $(current_branch) master)
|
||||
conflicts = ! git --no-pager diff --name-only --diff-filter=U
|
||||
yday = ! git log --name-only --since=yesterday.midnight --until=today.midnight --author=\"$(git config --get user.email)\"
|
||||
patch-grep = log -p -S
|
||||
[credential]
|
||||
|
@ -17,3 +17,5 @@
|
|||
autostash = true
|
||||
[github]
|
||||
user = wpcarro
|
||||
[core]
|
||||
excludesfile = ~/.gitignore
|
||||
|
|
2
configs/shared/.gitignore
vendored
Normal file
2
configs/shared/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Mac
|
||||
.DS_Store
|
Loading…
Reference in a new issue