From: Neal Kreitzinger Date: Fri, 23 Mar 2012 15:30:19 GMT Subject: Re: Push from specific directory. Message-ID: <4F6C970B.2010803@gmail.com> In-Reply-To: On 3/23/2012 8:35 AM, Anjib Mulepati wrote: > I am comparing Git with other SVN. > > In SVN each folders have .svn folder. If we don't wanna track > particular folder then there is no .svn folder in that directory. In > Git does we have same structure? > > So the example I am giving here represent two versions and one > non-version folder. > There is only one .git dir per git repo. By default it is created under the top-level dir (worktree) of the repo. If you don't want to track a subdir then you ignore it using the gitignore technology of git. You would want to setup the gitignore before doing the init. v/r, neal