Move to gnu/stow
This commit is contained in:
parent
4b1fda2809
commit
c9d482f576
3 changed files with 67 additions and 8 deletions
24
git/.gitconfig
Normal file
24
git/.gitconfig
Normal file
|
@ -0,0 +1,24 @@
|
|||
[user]
|
||||
|
||||
name = "Hactarus"
|
||||
email = Hactarus@users.noreply.github.com
|
||||
|
||||
|
||||
[alias]
|
||||
pushdev = !git push --set-upstream origin "`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`:dev/hactarus/`git branch --no-color 2>/dev/null | grep '*' | sed -e 's/\\* //'`"
|
||||
graph = !git log --oneline --graph --abbrev-commit --decorate --date=relative --all --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)\n'
|
||||
|
||||
[push]
|
||||
default = simple
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[url "ssh://git@gitlab.com"]
|
||||
insteadOf = "https://www.gitlab.com"
|
||||
|
||||
[url "ssh://git@github.com"]
|
||||
insteadOf = "https://www.github.com"
|
||||
|
||||
[includeIf "gitdir:~/work"]
|
||||
path = .gitconfig-work
|
Loading…
Add table
Add a link
Reference in a new issue