Re: Push from specific directory.
- From
- Neal Kreitzinger <nkreitzinger@gmail.com>
- Date
- Mar 23, 2012, 15:30 UTC
- Message-ID
- <4F6C970B.2010803@gmail.com>
- In-Reply-To
- <BLU0-SMTP315865C5026D08E76594E5DB1460@phx.gbl>
On 3/23/2012 8:35 AM, Anjib Mulepati wrote:
Show 9 quoted lines
> 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