updated Git config

This commit is contained in:
Steffen Vogel 2015-06-14 22:09:26 +02:00
parent 93d5218efa
commit b809601543
3 changed files with 86 additions and 3 deletions

2
.gitattributes vendored Normal file
View file

@ -0,0 +1,2 @@
# Diff .t2d files as if they were XML (they are).
*.t2d diff=xml

View file

@ -1,7 +1,40 @@
[user]
email = post@steffenvogel.de
name = Steffen Vogel
[credential]
helper = cache --timeout=3600
[github]
username = stv0g
[shell]
username = stv0g
[color]
ui = true
ui = auto
[push]
default = simple
[core]
ignorecase = false
[merge]
tool = meld
[diff]
tool = meld
[rerere]
# Store and re-use manual conflict resolution changes.
enabled = 1
[core]
# Exclude everything this file. Used for general exclusions.
excludesfile = ~/.gitignore
# Set attributes on files. Used for general diff improvements.
attributesfile = ~/.gitattributes
[help]
# Open Git help pages in the browser as HTML.
format = web
autocorrect = 1
[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
[diff "xml"]
textconv = xmllint --format --recover

48
.gitignore vendored Normal file
View file

@ -0,0 +1,48 @@
# Ignore files generated by Qt.
moc_*.cpp
qrc_*.cpp
ui_*.h
# Ignore files generated by QMake.
.qmake.*
qmake/*.d
.moc/
.obj/
# Ignore compiler output files.
config.log
config.tests/
*.o
*.pyc
# Ignore text editor local configuration..
*.pro.user
.tm_properties
*.xcodeproj/project.xcworkspace/
*.xcodeproj/xcuserdata/
# Ignore temporary generated files.
*.rej
*.swp
*~
# Ignore thumbnails metadata generated by OSX.
.DS_Store
# Ignore things generated by Bundler.
.bundle/bin/
vendor/ruby/
vendor/*/vendor/ruby/
# Ignore files generated by CMake.
CMakeFiles/
CMakeCache.txt
cmake_install.cmake
install_manifest.txt
# Ignore build directories.
b/
# Ignore secrets files
.env