Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (55 sloc) 2.05 KB
[user]
#check other alias on https://github.com/mte90/dotfiles/blob/master/.bashrc
name = Daniele Scasciafratte
email = mte90net@gmail.com
# This is recommended, as it make easier to recover deleted branches
# See http://alblue.bandlem.com/2011/11/git-tip-of-week-gc-and-pruning-this.html
logallrefupdates=true
[core]
editor = vim -Nu NONE -c startinsert
# Changes in file permissions will be ignored: please use it!
filemode = false
autocrlf = input
[push]
default = simple
[credential]
helper = cache --timeout=36000
[alias]
undo-commit = reset --soft HEAD^
#http://www.mte90.net/en/2016/04/git-clone-auto-download-composer-npm-pip-vagrant-bower/
clone = clone --recursive --template=/home/mte90/.git-templates
permission-reset = "!git diff -p | grep -E \"^(diff|old mode|new mode)\" | sed -e \"s/^old/NEW/;s/^new/old/;s/^NEW/new/\" | git apply"
permission-reset = "!git diff -p -R --no-color --no-ext-diff | grep -E \"^(diff|(old|new) mode)\" --color=nenver | sed -e \"s/^old/NEW/;s/^new/old/;s/^NEW/new/\" | git apply"
permission-reset = !git diff -p -R --no-color --no-ext-diff | grep -E \"^(diff|(old|new) mode)\" --color=nenver | git apply
permission-reset = !git diff -p -R --no-color --no-ext-diff | grep -E \"^(diff|(old|new) mode)\" --color=never | git apply
[merge]
# See here:
# http://aaronbonner.io/post/78444674979/only-allow-git-fast-forward-merges-to-avoid-ugly
ff = only
[branch]
# Force *all new* branches to automatically use rebase
# See here:
# http://stevenharman.net/git-pull-with-automatic-rebase
autosetuprebase = always
[branch "master"]
#Force *existing* branches to use rebase.
#See here:
#http://stevenharman.net/git-pull-with-automatic-rebase
rebase = true
[branch "develop"]
#Force *existing* branches to use rebase.
#See here:
#http://stevenharman.net/git-pull-with-automatic-rebase
rebase = true
[http]
sslverify = false
[color]
ui = auto
[init]
templatedir = /home/mte90/.gh-license/git-templates
[github]
user = Mte90
[help]
autocorrect = 1
[fetch]
prune = true
You can’t perform that action at this time.