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

Re: how to git with google code

From
Jan Krüger <jk@jk.gs>
Date
Nov 26, 2010, 15:21 UTC
Message-ID
<20101126162101.6586215d@jk.gs>
In-Reply-To
<AANLkTi=5muNrriBoU0ZGnMqQUOjrJAvwLfyYO07-Ad3m@mail.gmail.com>
--- Bond <jamesbond.2k.g@gmail.com> wrote:
> I am not clear with how do I host my code to git.

Google Code's project hosting does not officially support git. About the only thing you can do is to actually host a Subversion repository there and then access that via git-svn. However, that deprives you of many of the big advantages of git, such as useful merging and lightning-fast cloning (compared to Subversion via git-svn, anyway).

I would recommend that you look for a different hosting site. Other sites offering free git hosting for open source projects include Sourceforge, github, gitorious and repo.or.cz. Some of these provide you with instructions on how to push your code to them. In any case, I think you could benefit from reading a git tutorial or two.

Also, might I recommend that you create one repository per separate project you want to get hosted. It's bad organization to keep several projects in the same repository, and it's likely to bite you in the behind eventually.

HTH, Jan

Previous: Tay Ray Chuan
Message 7 of 7 in “how to git with google code”
  1. BondNov 26, 2010
  2. Michael J GruberNov 26, 2010
  3. BondNov 27, 2010
  4. Tay Ray ChuanNov 28, 2010
  5. BondNov 28, 2010
  6. Tay Ray ChuanNov 28, 2010
  7. Jan KrügerNov 26, 2010

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.