Add form3-specific git settings

This commit is contained in:
Cyryl Płotnicki 2019-05-13 10:12:55 +01:00
parent 1f610ca506
commit d4db89cb68
5 changed files with 18 additions and 8 deletions

10
.gitconfig.linux.form3 Normal file
View file

@ -0,0 +1,10 @@
[include]
path = dev/dotfiles/.gitconfig_includes.common
path = dev/dotfiles/.gitconfig_includes.linux
[gpg]
program = gpg2
[user]
signingkey = CA6A60C801F3CDAFE4601D76436DDB0D638A3C61
email = cyryl.plotnicki@form3.tech
[commit]
gpgsign = true

View file

@ -5,12 +5,5 @@
[alias]
signedcommit = !git commit -S
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[gpg]
program = gpg2

View file

@ -13,6 +13,7 @@
tree = log --show-signature --color --decorate --date=short --all --graph -n 3
newbranch = !git checkout master && git fetch -p && git reset --hard origin/master && git checkout -b "$2"
head = log HEAD -n1
signedcommit = !git commit -S
[core]
autocrlf = false
[diff]

View file

@ -1 +1 @@
/home/cyryl/dev/dotfiles/.hyper_plugins
/home/cyrylplotnicki/dev/dotfiles/.hyper_plugins

View file

@ -50,13 +50,19 @@ ln -vfs "$DIR/.zprezto/runcoms/zshenv" ~/.zshenv
ln -vfs "$DIR/.zshrc" ~/.zshrc
ln -vfs "$DIR/.hyper.js" ~/.hyper.js
ln -vfs "$DIR/.hyper_plugins" ~/.hyper_plugins
ln -vfs "$DIR/.hyper_plugins" ~/.hyper_plugins
ln -vfs "$DIR/.Slic3r" ~/.
ln -vfs "$DIR/.ghci" ~/.
ln -vfs "$DIR/.conkyrc" ~/.
mkdir -p ~/.kde/share/config/
ln -vfs "$DIR/.kdiff3rc" ~/.kde/share/config/kdiff3rc
ln -vfs "$DIR/.gitconfig.linux.private" ~/.gitconfig
if [[ `hostname` == "xps15" ]]; then
ln -vfs "$DIR/.gitconfig.linux.form3" ~/.gitconfig
fi
mkdir -p ~/.config/autostart/
# autostart apps
mkdir -p ~/.config/vdirsyncer/