Compare commits

...

3 Commits

2 changed files with 16 additions and 2 deletions

BIN
git/.config.swp Normal file

Binary file not shown.

View File

@ -6,18 +6,24 @@
editor = geany editor = geany
[push] [push]
default = matching default = matching
[diff "pdf"]
textconv = pdf2txt
[core] [core]
excludesfile = ~/.config/git/ignore excludesfile = ~/.config/git/ignore
[color] [color]
ui = auto ui = auto
[color "status"]
# use different color than untracked and unmerged paths have
changed = yellow
[merge] [merge]
conflictstyle = diff3 conflictstyle = diff3
[branch] [branch]
autosetuprebase = always autosetuprebase = always
[diff] [diff]
mnemonicPrefix = true
tool = vimdiff tool = vimdiff
[diff "rst"]
textconv = pandoc --to=rst
[diff "pdf"]
textconv = pdf2txt
[alias] [alias]
# Short Fancy Logs # Short Fancy Logs
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
@ -25,5 +31,13 @@
lg = !"git lg1" lg = !"git lg1"
lga = !"git lg --all" lga = !"git lg --all"
s = status --short
st = status
pushf = push --force-with-lease # Look mom, no --force
dif = diff dif = diff
diffc = diff --cached
difc = diff --cached
alias = "! git config --get-regexp ^alias\\. " alias = "! git config --get-regexp ^alias\\. "