diff options
author | 2014-01-02 01:15:40 +0000 | |
---|---|---|
committer | 2014-01-02 01:15:40 +0000 | |
commit | 73bfbe10e94a415e195290dea3840cdd5dc6b2f8 (patch) | |
tree | 739eebaa8b632d3a7e97f524fa1e826fdb66521e | |
parent | f09f009db39ab7d74a1accdf9fddc5034914bf07 (diff) |
Added a comment
-rw-r--r-- | doc/todo/untracked_remotes/comment_4_75ae13c2135a2951b2af548139cb25cd._comment | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/doc/todo/untracked_remotes/comment_4_75ae13c2135a2951b2af548139cb25cd._comment b/doc/todo/untracked_remotes/comment_4_75ae13c2135a2951b2af548139cb25cd._comment new file mode 100644 index 000000000..fd9397531 --- /dev/null +++ b/doc/todo/untracked_remotes/comment_4_75ae13c2135a2951b2af548139cb25cd._comment @@ -0,0 +1,46 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U" + nickname="Richard" + subject="comment 4" + date="2014-01-02T01:15:40Z" + content=""" +Another use case of read-only repos: + +Instead of merging pull requests or anything, with git-annex, it makes most sense to simply set up the other party as a remote and `git annex sync`. +This will attempt to push to the other remote. + +In this specific case: + + % git annex sync + commit + ok + pull origin + ok + pull greggrossmeier + ok + push origin + Counting objects: 113, done. + Delta compression using up to 4 threads. + Compressing objects: 100% (84/84), done. + Writing objects: 100% (98/98), 25.16 KiB | 0 bytes/s, done. + Total 98 (delta 17), reused 1 (delta 0) + To git@github.com:RichiH/conference_proceedings.git + * [new branch] git-annex -> synced/git-annex + * [new branch] master -> synced/master + ok + push greggrossmeier + Username for 'https://github.com': + Password for 'https://github.com': + remote: Anonymous access to greggrossmeier/conference_proceedings.git denied. + fatal: Authentication failed for 'https://github.com/greggrossmeier/conference_proceedings.git/' + Username for 'https://github.com': + Password for 'https://github.com': + + Pushing to greggrossmeier failed. + + (non-fast-forward problems can be solved by setting receive.denyNonFastforwards to false in the remote's git config) + failed + git-annex: sync: 1 failed + % + +"""]] |