Skip to content

Instantly share code, notes, and snippets.

@milmazz
Created Apr 6, 2010
Embed
What would you like to do?
Configuration files for Git
[user]
name = Milton Mazzarri
email = milmazz@gmail.com
[diff]
external = gitdiff
[pager]
diff =
[color]
status = auto
branch = auto
ui = auto
interactive = auto
pager = true
[color "status"]
added = green
changed = yellow
untracked = red
[color "branch"]
current = green reverse
local = green
remote = yellow
[core]
excludesfile = /home/milmazz/.gitignore
[alias]
plog = log --pretty=tformat:'%h %Cblue%cr%Creset %cn %Cgreen%s%Creset' --graph
st = status
di = diff
co = checkout
ci = commit
br = branch
sta = stash
[github]
user = milmazz
token = ...
*.pyc
*.swp
*.debhelper
*~
*#
\.#*
*.bak
*.mo
_build
_static
_templates
build/
dist/
tweepy.egg-info/
#!/bin/sh
vimdiff "$2" "$5"
@flaper87
Copy link

flaper87 commented Apr 7, 2010

Quizás te interesen estos alias para el .gitconfig:

st = status
di = diff
co = checkout
ci = commit
br = branch
sta = stash

Saludos

Loading

@milmazz
Copy link
Author

milmazz commented Apr 7, 2010

Agregado, muchas gracias por tu comentario.

Loading

@edgar
Copy link

edgar commented Jun 6, 2010

Los alias estan comodos, yo aplique la misma del diff pero para meld

Aqui el script que estoy usando para desplegar en el bash prompt el nombre del branch en el que estas (y colorizado para indicar si hay cambios o no), a mi me es muy util (no recuerdo el link original del gist)

http://gist.github.com/428029

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment