Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add some more customizations to gitconfig

  • Loading branch information...
commit 4f6a39847b837af6f3f814ea9775df81ad0994e0 1 parent 4b4d94a
Caio Romão authored October 09, 2010

Showing 1 changed file with 20 additions and 5 deletions. Show diff stats Hide diff stats

  1. 25  gitconfig
25  gitconfig
@@ -5,30 +5,33 @@
5 5
 [alias]
6 6
     ci = commit
7 7
     co = checkout
8  
-    st = status -s
  8
+    st = status -sb
9 9
     br = branch
10 10
     nb = checkout -b
11 11
     lo = log --graph --all --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %Cgreen(%cr)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=relative
12 12
     lw = log --graph --all --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %Cgreen(%cr)%Creset %s%C(yellow)%d%Creset' --abbrev-commit --date=relative --since 'last week'
13 13
     report = log --since='last month' --author caio --pretty=format:'%Cgreen(%ci) %Creset%Cblue%s'
14 14
     unstage = reset HEAD --
  15
+    revname = name-rev --name-only --refs=refs/heads/*
15 16
 
16 17
 [core]
17 18
     editor = vim
  19
+    whitespace = blank-at-eol,space-before-tab,tab-in-indent
18 20
 
19 21
 [color]
20  
-    branch = auto
21  
-    diff = auto
22  
-    status = auto
  22
+    ui = auto
  23
+
23 24
 [color "branch"]
24 25
     current = yellow reverse
25 26
     local = yellow
26 27
     remote = green
  28
+
27 29
 [color "diff"]
28 30
     meta = yellow bold
29 31
     frag = magenta bold
30 32
     old = red bold
31 33
     new = green bold
  34
+
32 35
 [color "status"]
33 36
     added = yellow
34 37
     changed = green
@@ -41,4 +44,16 @@
41 44
     insteadOf = gh:
42 45
 
43 46
 [merge]
44  
-	tool = vimdiff
  47
+    tool = gvimdiff
  48
+
  49
+[help]
  50
+    autocorrect = 5
  51
+
  52
+[rebase]
  53
+    stat = true
  54
+
  55
+[web]
  56
+    browser = google-chrome
  57
+
  58
+[diff]
  59
+    renames = copies

0 notes on commit 4f6a398

Please sign in to comment.
Something went wrong with that request. Please try again.