if [ -e /usr/bin/vimx ]; then alias vim='/usr/bin/vimx'; fi
# Shortcuts
-alias cfg='git --git-dir=$HOME/.cfg --work-tree=$HOME'
+alias gdf='git --git-dir=$HOME/.gitdotfiles --work-tree=$HOME'
alias g='git'
alias h='history'
alias j='jobs'
[push]
default = simple
[diff]
- tool = vimdiff
-# tool = bc
+# tool = vimdiff
+ tool = bc
[merge]
- tool = vimdiff
-# tool = bc
+# tool = vimdiff
+ tool = bc
[difftool "vimdiff"]
prompt = false
conflictstyle = diff3
[mergetool "vimdiff"]
prompt = false
[difftool "bc"]
-# path = C:\\Program Files\\Beyond Compare 4\\BComp.exe
+ path = C:\\Program Files\\Beyond Compare 4\\BComp.exe
trustExitCode = false
[mergetool "bc"]
-# path = C:\\Program Files\\Beyond Compare 4\\BComp.exe
+ path = C:\\Program Files\\Beyond Compare 4\\BComp.exe
trustExitCode = false
[init]
templatedir = ~/.config/git/templates
What you need to do on the new box is this:
$ cd $HOME
+<<<<<<< 8b0d8fd23b8c07035b29b2f6e0a7db411d9d33b9
$ git init --bare $HOME/.cfg
$ alias cfg='git --git-dir=$HOME/.cfg --work-tree=$HOME'
$ cfg config --local status.showUntrackedFiles no
$ cfg fetch
$ cfg reset --hard origin/master
$ cfg branch -u origin/master
+=======
+ $ git init --bare $HOME/.gitdotfiles
+ $ alias gdf='git --git-dir=$HOME/.gitdotfiles --work-tree=$HOME'
+ $ gdf config --local status.showUntrackedFiles no
+ $ gdf remote add origin git@bitbucket.org:jannikz/dotfiles.git
+ $ gdf fetch
+ $ gdf reset --hard origin/master
+ $ gdf branch -u origin/master
+>>>>>>> Rename to gdf