git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: how to clone/checkout branch/tag vesion from GIT repository

From
Ssupadhyay <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.

Previous: Jeff KingNext: supadhyay
Message 7 of 9 in “how to clone/checkout branch/tag vesion from GIT repository”
  1. supadhyayMay 10, 2012
  2. Jeff KingMay 10, 2012
  3. Suchi UpadhyayMay 10, 2012
  4. Jeff KingMay 10, 2012
  5. supadhyayMay 11, 2012
  6. Jeff KingMay 11, 2012
  7. supadhyayMay 12, 2012
  8. supadhyayMay 14, 2012
  9. Jeff KingMay 14, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.