diff options
author | Joey Hess <joey@kitenet.net> | 2014-07-21 18:43:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-07-21 18:43:32 -0400 |
commit | 0d0ca132b0135fbb1e63a53ac78d1f082bccab25 (patch) | |
tree | 684dbcc5ceef192a70bf82f92191deee150a79c5 | |
parent | 7b153c3e82d2fce15cbd4d948b71aef7e56a2f04 (diff) | |
parent | 7769dc5e2ee295389b7d5262c7b76df66c73ba6f (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
3 files changed, 32 insertions, 0 deletions
diff --git a/doc/forum/Require_a_local_copy_of_all_new_files_without_explicitly_calling___34__get__34___or___34__sync__34__/comment_1_8adf9c6d2a3ef29120703bfa1b8f9ae2._comment b/doc/forum/Require_a_local_copy_of_all_new_files_without_explicitly_calling___34__get__34___or___34__sync__34__/comment_1_8adf9c6d2a3ef29120703bfa1b8f9ae2._comment new file mode 100644 index 000000000..12aef2473 --- /dev/null +++ b/doc/forum/Require_a_local_copy_of_all_new_files_without_explicitly_calling___34__get__34___or___34__sync__34__/comment_1_8adf9c6d2a3ef29120703bfa1b8f9ae2._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="108.236.230.124" + subject="comment 1" + date="2014-07-21T19:46:44Z" + content=""" +This is generally handled by using either `git annex sync --content`, which will make the laptops upload new files to the server before they push the git repository to it, or by using the git-annex assistant (on the laptops or perhaps on the server) to automatically copy files. Either way, you configure [[preferred_content]] settings to control which repositories want which files. +"""]] diff --git a/doc/forum/comprehension_question:_repository_vs._working_copy_in_direct_mode/comment_1_a6b4db0cefa439f72b97089d48dfacbd._comment b/doc/forum/comprehension_question:_repository_vs._working_copy_in_direct_mode/comment_1_a6b4db0cefa439f72b97089d48dfacbd._comment new file mode 100644 index 000000000..327c05705 --- /dev/null +++ b/doc/forum/comprehension_question:_repository_vs._working_copy_in_direct_mode/comment_1_a6b4db0cefa439f72b97089d48dfacbd._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="108.236.230.124" + subject="comment 1" + date="2014-07-21T19:54:15Z" + content=""" +A git repository is a `.git` directory (or `git.bare` for a bare repository). + +A working tree is the directory that contains the `.git` directory. + +That is standard git terminology; git-annex does not change this at all really. The only difference is that a file added to git-annex is in both the repository and the working tree at the same time, rather than their being 2 local copies of the file (which would need twice the disk space so not good for large files). + +`git annex sync` commits any changes to files in the working tree, and pushes those changes to other remotes. You need to pass --content to also make git-annex upload the files to other remotes. Once a remote has been pushed to, you can run `git annex merge` in it to update its working tree to reflect the pushed changes (`git annex sync` also does that merge). + +To automatically sync changes to remotes, you can run the git-annex assistant. +"""]] diff --git a/doc/tips/megaannex/comment_1_eec701662debd2a78c48243dbcebf59a._comment b/doc/tips/megaannex/comment_1_eec701662debd2a78c48243dbcebf59a._comment new file mode 100644 index 000000000..8b4b7f82b --- /dev/null +++ b/doc/tips/megaannex/comment_1_eec701662debd2a78c48243dbcebf59a._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="108.236.230.124" + subject="comment 1" + date="2014-07-21T19:56:13Z" + content=""" +Note that there has apparently been an API break, so this special remote may not work anymore. See: <http://git-annex.branchable.com/forum/MegaAnnex_not_working./> +"""]] |