One git-annex repo refuses to see if remotes have files

Joey Hess joey at kitenet.net
Fri May 18 18:02:33 CEST 2012


Adam Spiers wrote:
> Looks to me like you got the order wrong - don't you need
> to commit and push *before* the git annex copy? Otherwise
> the meta-data for doc.2012.tar.gz isn't in the git-annex branch
> when the annex copy is done and it will just copy the previous
> contents of oldscm to metaarray, without the new file.

Nope, once a file is git-annex added, the data is in git and it can be
manipulated with all git-annex commands, even if the staged file has not
yet been committed.

> > zephyr$ git commit -a && git push

My guess is that this push is not pushing the git-annex branch.

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20120518/f39d75a2/attachment.pgp>


More information about the vcs-home mailing list