On Thu, Mar 22, 2012 at 06:04:20PM -0400, Anjib Mulepati wrote: > 1. Is it always necessary to be in root directory to do the push? No. You are pushing whole commits, not a particular subset of your working tree. So doing it from anywhere in the repository should have the same effect. But... > 2. Can I have a folder structure like > (a) /Hello-World > (b) /Hello-World/gitVersion/GitVersionFile.txt and > (c) /Hello-World/nonGitVersion/NonGitVersionFile.txt > where I give git init for (a) and (c). If Itry to push only from (c) > is that valid? You have a repository inside a repository. So when you are in (c), you will be pushing the commits from (c), not from (a). I'm not really sure what you are trying to accomplish with that. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html