Update gitconfig
This commit is contained in:
parent
1c0cd58364
commit
f1d3ef2616
4
skel/.conf.d/gitconfig.custom
Normal file
4
skel/.conf.d/gitconfig.custom
Normal file
@ -0,0 +1,4 @@
|
||||
# This file can be replaced by using the private tag
|
||||
[user]
|
||||
email =
|
||||
name =
|
@ -1,3 +1,5 @@
|
||||
[include]
|
||||
path = .conf.d/gitconfig.custom
|
||||
[alias]
|
||||
i = "!git br&&git st"
|
||||
# coa = "!for i in $(git branch -a|cut -b3-|grep remotes|sed -e 's/remotes\///'|cut -d/ -f1 --complement|cut -d\ -f1);do git checkout $i;done"
|
||||
@ -23,7 +25,7 @@
|
||||
ignore = update-index --assume-unchanged
|
||||
noignore = update-index --no-assume-unchanged
|
||||
rename-branch = branch -m
|
||||
find-file = "!for branch in $(git for-each-ref --format=\"%(refname)\" refs/heads); do if git ls-tree -r --name-only $branch | grep \"$1\" > /dev/null; then echo \"${branch}:\"; git ls-tree -r --name-only $branch | nl -bn -w3 | grep \"$1\"; fi; done; :"
|
||||
find-file = "!for branch in $(git for-each-ref --format=\"%(refname)\" refs/heads); do if git ls-tree -r --name-only $branch | grep \"$1\" > /dev/null; then echo \"${branch}:\"; git ls-tree -r --name-only $branch | nl -bn -w3 | grep \"$1\"; fi; done; :"
|
||||
[push]
|
||||
default = matching
|
||||
[core]
|
||||
@ -49,3 +51,5 @@
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
[pager]
|
||||
branch = false
|
||||
|
Loading…
Reference in New Issue
Block a user