Question

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?

Was it helpful?

Solution

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).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top