mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
gitconfig: sort aliases & add mergen & pulln
git merge & git pull with --no-ff
This commit is contained in:
parent
e95b5fa006
commit
5afe3a716b
@ -3,12 +3,15 @@
|
||||
email = mikaela.suomalainen@outlook.com
|
||||
signingkey = 0xDAA6CA08F2E96AC7
|
||||
[alias]
|
||||
# From https://github.com/blog/985-git-io-github-url-shortener#comment-15121
|
||||
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
|
||||
# From http://progit.org/book/ch2-7.html
|
||||
last = cat-file commit HEAD
|
||||
cleandi = clean -di
|
||||
cleandix = clean -dix
|
||||
# From http://progit.org/book/ch2-7.html
|
||||
last = cat-file commit HEAD
|
||||
# From https://github.com/blog/985-git-io-github-url-shortener#comment-15121
|
||||
mergen = merge --no-ff
|
||||
pulln = pull --no-ff
|
||||
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
|
||||
|
||||
[core]
|
||||
editor = vim
|
||||
autocrlf = input
|
||||
|
11
gitconfig
11
gitconfig
@ -3,12 +3,15 @@
|
||||
# email = mikaela.suomalainen@outlook.com
|
||||
# signingkey = 0xDAA6CA08F2E96AC7
|
||||
[alias]
|
||||
# From https://github.com/blog/985-git-io-github-url-shortener#comment-15121
|
||||
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
|
||||
# From http://progit.org/book/ch2-7.html
|
||||
last = cat-file commit HEAD
|
||||
cleandi = clean -di
|
||||
cleandix = clean -dix
|
||||
# From http://progit.org/book/ch2-7.html
|
||||
last = cat-file commit HEAD
|
||||
# From https://github.com/blog/985-git-io-github-url-shortener#comment-15121
|
||||
mergen = merge --no-ff
|
||||
pulln = pull --no-ff
|
||||
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
|
||||
|
||||
[core]
|
||||
editor = vim
|
||||
autocrlf = input
|
||||
|
Loading…
Reference in New Issue
Block a user