1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 08:02:19 +00:00

New config

This commit is contained in:
J. Fernando Sánchez
2015-09-18 02:14:17 +02:00
parent 8e833119db
commit fc8c11d360
117 changed files with 1533 additions and 1083 deletions

19
git/.gitconfig Normal file
View File

@@ -0,0 +1,19 @@
[user]
name = J. Fernando Sánchez
email = balkian@gmail.com
[diff]
tool = vimdiff
[alias]
d = difftool
[include]
path = ~/.gitconfig_secret
[color]
ui = true
[alias]
lg1 = log --graph --all --format=format:'%C(yellow)%h%C(reset) - %C(green)(%ad)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
lg = !"git lg1"
[core]
excludesfile = ~/.gitignore_global

54
git/.gitignore_global Normal file
View File

@@ -0,0 +1,54 @@
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
*.db
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# IDEs
######
.idea
.ropeproject
# Python
######
*.pyc
*.egg-info
# VIM
######
*.swp
*.swo
*.swn