diff options
author | https://www.google.com/accounts/o8/id?id=AItOawlJl0OCe6AJEnIFIcg-t5Rhk-lI_Y-tWUs <Michael@web> | 2015-01-30 00:18:12 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-01-30 00:18:12 +0000 |
commit | e03239f8c4f511fd4fc995b29d052272ac1c8cc8 (patch) | |
tree | 9fa7c29d03bace5b4905c63c28bb38b3b6aafe77 | |
parent | 93582967397a3f747814954786b58d2baffc5acd (diff) |
-rw-r--r-- | doc/forum/Add_annex_files_outside_git_root_directory.mdwn | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/forum/Add_annex_files_outside_git_root_directory.mdwn b/doc/forum/Add_annex_files_outside_git_root_directory.mdwn new file mode 100644 index 000000000..8d90cbf99 --- /dev/null +++ b/doc/forum/Add_annex_files_outside_git_root_directory.mdwn @@ -0,0 +1,24 @@ +Hi, + +I love the idea of git-annex, and I'm trying to do my first steps with it. I'm stuck on the following issue: + +When creating a git repository and annexing a file in the root directory, everything works as expected: + + git init + git annex init "mytest" + echo 1 > annexfile + git annex add annexfile + # add annexfile ok + # (Recording state in git...) + +However, when I try to add a file in a subdirectory of the repository, the adding command fails without any error message: + + mkdir mydir + echo 1 > mydir/myfile + git annex add mydir/myfile + # no message, no status change, nothing + # note that I can add the file in the root dir and then move it to `mydir` + +Am I doing something wrong here? + +Thank you! |