threads / discuss / 25839

using git with Google Code

Subject: using git with Google Code

## tl;dr

4 messages between Nov 25, 2010 and Nov 26, 2010.

replies: 3people: 3as markdown or json

Bond· Nov 25, 2010, 14:52 UTC · lore
Ok by now I have wasted a couple of hours.Scratching my head and
searching for information reading blogs documents etc etc.Finally I
decided to create this thread.
I decided to put my programs on Google Code and since  I found git to
be a popular thing I decided to use it.
 I want to host my codes as
http://code.google.com/p/something/
On my local machine I have a folder named bond which I want to commit
to above url.
I have checked
http://flashsim.wordpress.com/category/google-code/
the guy seems to be quite frustrated with git.
Google gives a link to read a doc
http://hgbook.red-bean.com/read/file-names-and-pattern-matching.html
read it completely and this actually did not helped me a bit.
In the comments section of following link
http://google-opensource.blogspot.com/2008/05/develop-with-git-on-google-code-project.html
I get a URL
http://linuxsagas.wordpress.com/2009/06/05/adding-a-project-to-git-and-google-code/
this guy seems reasonably mature to write how to begin.

So now in my directory I go and here are the steps which till now I have done. mkdir st/bond cp -r $HOME/st/*.c $HOME/st/bond cd bond git init git commit -m "Initial Release Candidate"[/code]

and then I do

git svn clone --username me https://myproject.googlecode.com/svn/trunk git: 'svn' is not a git command. See 'git --help'.

Did you mean one of these?
	fsck
	show

Now what do I do to get rid of above message.I have been searching all across internet and I have not found correct thing with respect to my question.

Jonathan Nieder· Nov 25, 2010, 15:03 UTC · re: Bond · lore

Re: using git with Google Code

Bond wrote:
Show 6 quoted lines
> git svn clone --username me  https://myproject.googlecode.com/svn/trunk
> git: 'svn' is not a git command. See 'git --help'.
> 
> Did you mean one of these?
> 	fsck
> 	show
Is git-svn installed?
Bond· Nov 26, 2010, 10:55 UTC · re: Jonathan Nieder · lore

Re: using git with Google Code

On Thu, Nov 25, 2010 at 8:33 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 11 quoted lines
> Bond wrote:
>
>> git svn clone --username me  https://myproject.googlecode.com/svn/trunk
>> git: 'svn' is not a git command. See 'git --help'.
>>
>> Did you mean one of these?
>>       fsck
>>       show
>
> Is git-svn installed?
>

I do not remember if it was installed or not.After reading your message I did an apt-get to git-svn I am using Ubuntu 10.04 64 bit. On my project there is no single file right now.

Tay Ray Chuan· Nov 26, 2010, 15:12 UTC · re: Bond · lore

Re: using git with Google Code

On Fri, Nov 26, 2010 at 6:55 PM, Bond <jamesbond.2k.g@gmail.com> wrote:
> I do not remember if it was installed or not.After reading your
> message I did an apt-get to git-svn I am using Ubuntu 10.04  64 bit.
> On my project there is no single file right now.
So you've installed git-svn already? Try
  git svn -h
Anything?
-- 
Cheers,
Ray Chuan

← back to recent threads