Re: Problem with architecture git.
- From
Keller, Jacob E <jacob.e.keller@intel.com>
- Date
- Jul 17, 2015, 18:06 UTC
- Message-ID
- <1437156370.4883.14.camel@intel.com>
- In-Reply-To
- <loom.20150717T170829-906@post.gmane.org>
On Fri, 2015-07-17 at 15:12 +0000, Alexander wrote:
Show 8 quoted lines
> Hello, > > I have problem with architecure of my project, help me to resolve > problem > . I want to do in my remote repo two branches with two different > working > folders (master , dev ) to check it . How can I do it ? > Thank you.
Sounds like you want the git worktree functionality currently being baked.
git clone <remote> cd <repo> git checkout master git worktree add <path/to/dev> dev
This allows you to have both master checked out at the location path/to/dev and the master checked out where repo is stored. Quite valuable
I think this solves what you're looking for? I don't know what version git-worktree is supported by..
Regards, Jake