From 40c9e7e16ecd2c30b39bf2dfe6e3151fb1f345c5 Mon Sep 17 00:00:00 2001 From: "https://me.yahoo.com/a/yx5Y6EI1t.759Jsu63ZWqYclCmpOmxxd.ramtw--#7114a" Date: Thu, 28 Jan 2016 10:54:39 +0000 Subject: [PATCH] move files, direct mode --- ..._in_git_annex___40__direct_mode__41__.mdwn | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/forum/Move_files_in_git_annex___40__direct_mode__41__.mdwn diff --git a/doc/forum/Move_files_in_git_annex___40__direct_mode__41__.mdwn b/doc/forum/Move_files_in_git_annex___40__direct_mode__41__.mdwn new file mode 100644 index 0000000000..fa27a7cd89 --- /dev/null +++ b/doc/forum/Move_files_in_git_annex___40__direct_mode__41__.mdwn @@ -0,0 +1,22 @@ +Hi guys, I have a git annex repo under `/path`. + +I ran: + +``` +cd /path/subdir2 +mv ../subdir1/stuff* . +git annex add +git annex sync +``` + +The I went to another repo (clone of the first) and did: + +``` +cd /paht1 +git annex sync +git annex get . +``` + +Now I got the stuff from under `subdir2` in my second repo, just that the same stuff is also still under `subdir1` - how do I make git-annex aware of this change? + +Also, someone suggested running `git annex watch`