From a7cc89f1eb96add4ad18812f47721e9e6c652580 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Oct 2010 20:19:52 -0400 Subject: fix --- doc/walkthrough.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/walkthrough.mdwn b/doc/walkthrough.mdwn index 24c3d7136..e5cbc7df1 100644 --- a/doc/walkthrough.mdwn +++ b/doc/walkthrough.mdwn @@ -45,6 +45,21 @@ if you are using a centralized bare repository. Notice you commit at the end, this checks in git-annex's record of the files but not thier actual, large, content. +## renaming files + + # cd ~/annex + # git mv big_file my_cool_big_file + # mkdir iso + # git mv debian.iso iso + # git annex fix . + fix iso/debian.iso ok + # git commit -m moved + +You can use any normal git operations to move files around, or even +make copies or delete them. `git-annex fix` needs to be run if a file +is moved into a different directory, in order to fix up the symlink +pointing to the file's content. + ## transferring files around Let's copy everything in the laptop's home annex to the USB drive. -- cgit v1.2.3