Add global gitconfig, improve glog display

Added global git config file, following XDG specifications (putting it
under `XDG_CONFIG_HOME/git/config`).

Adding a small improvement to default dot session for tmux, so that its
log watcher now shows all refs and remote refs.
This commit is contained in:
Marty Oehme 2020-02-01 11:15:22 +01:00
parent 7308828c67
commit 7ebcce8e82
2 changed files with 9 additions and 1 deletions

8
git/.config/git/config Normal file
View File

@ -0,0 +1,8 @@
[user]
email = marty.oehme@gmail.com
name = Marty Oehme
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true

View File

@ -4,7 +4,7 @@ split-window -h watch -t -n 1 -c 'cd ~/.dotfiles; git -c color.ui=always status
split-window -v
send-keys "cd ~/.dotfiles; clear" C-m L C-m
select-pane -t 1
split-window -v watch -t -n 1 -c 'cd ~/.dotfiles; git -c color.ui=always log --graph --date=short --decorate --oneline'
split-window -v watch -t -n 1 -c 'cd ~/.dotfiles; git -c color.ui=always log --graph --date=short --decorate --oneline --all --remotes'
select-pane -t 4
new-window -n code
send-keys "cd ~/.dotfiles; vim ." C-m I