summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-09-20 17:19:07 +0200
committermakefu <github@syntax-fehler.de>2011-09-20 17:19:07 +0200
commitdfadcd3b21d838c9d1bb8fc37304cec71e7517d8 (patch)
tree06a5b0cb9ceabf41411f8df94925307628265c0a
parent2a54f1cef0d547be126d77a315afdf5dff58d1c2 (diff)
HACKING/git: initial commit
how to preserve mv history in git
-rw-r--r--cholerab/HACKING/git6
1 files changed, 6 insertions, 0 deletions
diff --git a/cholerab/HACKING/git b/cholerab/HACKING/git
new file mode 100644
index 00000000..5bdc41bd
--- /dev/null
+++ b/cholerab/HACKING/git
@@ -0,0 +1,6 @@
+# preserve history after move
+you do not have to [✈], simply use:
+ git log --follow .
+
+
+[✈] http://stackoverflow.com/questions/2314652/is-it-possible-to-move-rename-files-in-git-and-maintain-their-history