Added new commands into a .gitconfig.local
This commit is contained in:
parent
c5a622638d
commit
e9a5875888
@ -4,6 +4,7 @@
|
|||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
verbose = true
|
verbose = true
|
||||||
|
|
||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = false
|
||||||
|
|
||||||
@ -18,6 +19,7 @@
|
|||||||
co = checkout
|
co = checkout
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
df = !git --no-pager diff
|
df = !git --no-pager diff
|
||||||
|
br = !git branch | cat
|
||||||
dfh = !git --no-pager diff
|
dfh = !git --no-pager diff
|
||||||
diffh = !git --no-pager diff
|
diffh = !git --no-pager diff
|
||||||
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an - %ae>%Creset' --abbrev-commit --branches
|
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an - %ae>%Creset' --abbrev-commit --branches
|
||||||
@ -26,10 +28,9 @@
|
|||||||
squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} \"$@\");};f"
|
squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} \"$@\");};f"
|
||||||
st = status --ignore-submodules=dirty -s
|
st = status --ignore-submodules=dirty -s
|
||||||
untrack-file = !git update-index --assume-unchanged
|
untrack-file = !git update-index --assume-unchanged
|
||||||
|
exclude-file = !git update-index --assume-unchanged
|
||||||
c = commit --author='Marcin Woźniak <y0rune@aol.com> -s'
|
c = commit --author='Marcin Woźniak <y0rune@aol.com> -s'
|
||||||
cw = commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com> -s'
|
cw = commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com> -s'
|
||||||
pullwork = GIT_SSH_COMMAND='ssh -i ~/.ssh/work/id_rsa' git pull
|
|
||||||
|
|
||||||
|
|
||||||
[url "git@github.com:"]
|
[url "git@github.com:"]
|
||||||
insteadOf = "https://github.com/"
|
insteadOf = "https://github.com/"
|
||||||
|
Loading…
Reference in New Issue
Block a user