I am using git version 1.7.10.msysgit.1. I have a working directory in which I have cloned from many repositories. However, now I want to transfer my changes only for a single repo. How do I create a bundle for only one folder in my working tree using git bundle create command? Does anyone has clue on this?

有帮助吗?

解决方案

git bundle operates on branches, not on commits or directories (and git does not store directories - only files). If you added each directory via series of commits create a patch for them via git format-patch (http://linux.die.net/man/1/git-format-patch).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top