ref(gitconfig)
This commit is contained in:
parent
e475a58b4b
commit
5ff5456159
@ -1,7 +1,7 @@
|
|||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.config/git/ignore
|
excludesfile = ~/.config/git/ignore
|
||||||
editor = "$EDITOR"
|
editor = "$EDITOR"
|
||||||
pager = "$PAGER"
|
pager = "$PAGER -F"
|
||||||
fileMode = false
|
fileMode = false
|
||||||
hooksPath = ~/.config/git/hooks
|
hooksPath = ~/.config/git/hooks
|
||||||
|
|
||||||
@ -39,7 +39,7 @@
|
|||||||
bm = branch --merged
|
bm = branch --merged
|
||||||
bn = branch --no-merged
|
bn = branch --no-merged
|
||||||
hist = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn] %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --all --color=always
|
hist = log --pretty=format:\"%Cgreen%h %Creset%cd %Cblue[%cn] %Creset%s%C(yellow)%d%C(reset)\" --graph --date=relative --decorate --all --color=always
|
||||||
hs = "!git hist -n 10 | $PAGER -F"
|
hs = "!git hist -n 10"
|
||||||
df = "!f() { git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf | awk '{print $1}' | xargs -I {} git diff {}^ {}; }; f"
|
df = "!f() { git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative | fzf | awk '{print $1}' | xargs -I {} git diff {}^ {}; }; f"
|
||||||
type = cat-file -t
|
type = cat-file -t
|
||||||
dump = cat-file -p
|
dump = cat-file -p
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
|
$include /etc/inputrc
|
||||||
|
|
||||||
set editing-mode vi
|
set editing-mode vi
|
||||||
set keymap vi
|
set keymap vi
|
||||||
set convert-meta on
|
set convert-meta on
|
||||||
|
set bell-style none
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user