Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add findoldfile git alias

  • Loading branch information...
commit 33a2ea947fc38e90578c9007a797d61f7cdbe41e 1 parent c327d44
@caio authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  gitconfig
View
3  gitconfig
@@ -18,6 +18,7 @@
revname = name-rev --name-only --refs=refs/heads/*
changed = diff --name-status -r
from = !sh -c 'git branch -r|grep "$1"' -
+ findoldfile = rev-list -n 1 HEAD --
[core]
editor = vim
@@ -69,7 +70,7 @@
main-window-view = HistoryView
[push]
- default = current
+ default = upstream
[branch]
autosetuprebase = always
autosetupmerge = always
Please sign in to comment.
Something went wrong with that request. Please try again.