diff options
author | Joey Hess <joey@kitenet.net> | 2011-02-27 12:45:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-02-27 12:45:48 -0400 |
commit | 98e246b49b3c4fed319fe7bc1e900ba20ebfc9e1 (patch) | |
tree | ad49ec6baf1b57f3acc8b694bdfc1bbd0986021f /doc/walkthrough/renaming_files.mdwn | |
parent | 9e49a71282def0b6d6f7507d59eb0f805c6e0073 (diff) |
split the walkthrough and inline back together
Diffstat (limited to 'doc/walkthrough/renaming_files.mdwn')
-rw-r--r-- | doc/walkthrough/renaming_files.mdwn | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/walkthrough/renaming_files.mdwn b/doc/walkthrough/renaming_files.mdwn new file mode 100644 index 000000000..85964d1ea --- /dev/null +++ b/doc/walkthrough/renaming_files.mdwn @@ -0,0 +1,13 @@ + # cd ~/annex + # git mv big_file my_cool_big_file + # mkdir iso + # git mv debian.iso iso/ + # git commit -m moved + +You can use any normal git operations to move files around, or even +make copies or delete them. + +Notice that, since annexed files are represented by symlinks, +the symlink will break when the file is moved into a subdirectory. +But, git-annex will fix this up for you when you commit -- +it has a pre-commit hook that watches for and corrects broken symlinks. |