Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added history shrotcut and branch all shortcut

  • Loading branch information...
commit cf8cc3a6b720a451c66cdde2c9a70606e09b800d 1 parent 0362085
Adam Trepanier authored
Showing with 6 additions and 0 deletions.
  1. +2 −0  .bash_profile
  2. +4 −0 .gitconfig
View
2  .bash_profile
@@ -6,12 +6,14 @@ export CC=/usr/bin/gcc-4.2
alias gs='git status '
alias ga='git add '
alias gb='git branch '
+alias gba='git branch -a '
alias gc='git commit'
alias gd='git diff'
alias go='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
alias gcm='git commit -m'
+alias gh='git hist'
alias got='git '
alias get='git '
View
4 .gitconfig
@@ -3,9 +3,11 @@
ci = commit
st = status
br = branch
+ bra = branch -a
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
+
[user]
name = Adam Trepanier
email = adam.trepanier@gmail.com
@@ -13,10 +15,12 @@
[merge]
keepBackup = false;
tool = p4merge
+
[mergetool "p4merge"]
cmd = p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
keepTemporaries = false
trustExitCode = false
keepBackup = false
+
[diff]
external = p4diff
Please sign in to comment.
Something went wrong with that request. Please try again.