Re: how to clone/checkout branch/tag vesion from GIT repository
- From
- supadhyay <supadhyay@imany.com>
- Date
- May 12, 2012, 10:26 UTC
- Message-ID
- <1336818392259-7553161.post@n2.nabble.com>
- In-Reply-To
- <20120511172214.GC26916@sigill.intra.peff.net>
Hi Jeff,
I follow below steps to do clone from git to gitolite (I did the cvs2git migration of individual repository successfully).
1- login to gitolite user and add repository entry in to gitolite.conf file and do add,commit and push. In push operation output it shows the path of the repository.
2- from gitolite_home I run below command git clone ssh://git@mygitserver.com/ora/data/test.git (tis is do the clone of my repository so I can see the actual data inside the repository)
3- then cd to test and push all the changes ; git push --all gitolite@mygitserver.com:test
4- push all tags also; git push --tags gitolite@mygitserver.com:test
5- lastly do the clone of test repository to my workstation using tortoise git tool; ssh://gitolite@mygitserver/test
Please guide me if anything missing or needs to add.
Thanks.
-- View this message in context: http://git.661346.n2.nabble.com/how-to-clone-checkout-branch-tag-vesion-from-GIT-repository-tp7546744p7553161.html Sent from the git mailing list archive at Nabble.com.