From a1885b309ceb50afddf3b6cf758b3569e942ecbb Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 22 Sep 2011 22:03:10 +0200 Subject: //cholerab: cleanup structure --- cholerab/HACKING/git | 6 ------ cholerab/HACKING/git/log-follow | 6 ++++++ cholerab/HACKING/git/remove-submodule | 5 +++++ 3 files changed, 11 insertions(+), 6 deletions(-) delete mode 100644 cholerab/HACKING/git create mode 100644 cholerab/HACKING/git/log-follow create mode 100644 cholerab/HACKING/git/remove-submodule (limited to 'cholerab/HACKING') diff --git a/cholerab/HACKING/git b/cholerab/HACKING/git deleted file mode 100644 index 5bdc41bd..00000000 --- a/cholerab/HACKING/git +++ /dev/null @@ -1,6 +0,0 @@ -# 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 diff --git a/cholerab/HACKING/git/log-follow b/cholerab/HACKING/git/log-follow new file mode 100644 index 00000000..5bdc41bd --- /dev/null +++ b/cholerab/HACKING/git/log-follow @@ -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 diff --git a/cholerab/HACKING/git/remove-submodule b/cholerab/HACKING/git/remove-submodule new file mode 100644 index 00000000..da8a1b00 --- /dev/null +++ b/cholerab/HACKING/git/remove-submodule @@ -0,0 +1,5 @@ +Delete the relevant line from the .gitmodules file. +Delete the relevant section from .git/config. +Run git rm --cached path_to_submodule (no trailing slash). +Commit and delete the now untracked submodule files. + -- cgit v1.2.3