When running "git branch":
$ git branch
* master

When running "git config -l":
$ git config -l
core.symlinks=false
core.autocrlf=true
color.diff=auto
pack.packsizelimit=2g
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
remote.origin.url=git://github.com/insoshi/insoshi.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
[EMAIL PROTECTED]:u196598/insoshi.git
remote.u196598.fetch=refs/heads/*:refs/remotes/u196598/*

>From the doc, "git push" will save my local changes to my own fork
branch. So I made some changes in my local pc copy. I can see the
differences using "git diff". But when using "git push", I got the
error. I just want to test "git push" to see it works or not.

Thanks,
Brian

On May 13, 2:02 am, "Long Nguyen" <[EMAIL PROTECTED]> wrote:
> Can you run 'git branch' and 'git config -l'? I need to see which branch
> you're on and where exactly you're trying to push to.
>
> 2008/5/12 B. Brian <[EMAIL PROTECTED]>:
>
>
>
>
>
> > Thank you Long for your quick/useful response.
>
> > So far I can do "git diff", "git pull" -- I got "Already up-to-date."
> > response when executing it because I created my local branch on 05/11
> > but the last committed change made by Michael was on 05/10. Hope I can
> > get updates in the future without any issues.
>
> > But I still cannot run "git push". I got following error: "fatal: The
> > remote end hung up unexpectedly". It is ok now because I do not have
> > any change to forked repository. Or I can put everything to my own
> > Subversion instead.
>
> > Brian
>
> > On May 12, 12:42 pm, "Long Nguyen" <[EMAIL PROTECTED]> wrote:
> > > I haven't used PuTTY to set up an ssh keypair before.  But it looks like
> > it
> > > might store/display the key in a format that's different than the
> > > ssh-keygen.
>
> > > Did you cut and paste something that looks similar to the Linux Step 3
> > > id_rsa.pub file on GitHub's Providing your SSH Key
> > > guide<http://github.com/guides/providing-your-ssh-key>?
> > > If not, then you'll need to take a look at Sec 8.2.10 in the Putty docs
>
> > >http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter8.html#pubkey..<http://the.earth.li/%7Esgtatham/putty/0.60/htmldoc/Chapter8.html#pubkey..>
> > .<http://the.earth.li/%7Esgtatham/putty/0.60/htmldoc/Chapter8.html#pubk..
> > .>
>
> > > This will tell you how to get PuTTY to display the key in the
> > > authorized_keys format that GitHub is probably expecting.
>
> > > Also, "check out" and "check in" mean different things in Git than
> > you're
> > > expecting.  What you really want are "git pull" to get changes from
> > remote
> > > repositories (updates from the official Insoshi public repository) and
> > "git
> > > push" to move updates to your forked repository.
>
> > > Take a look at our Git Guides <http://docs.insoshi.com/Git-Guides> to
> > get
> > > started.
>
> > > 2008/5/11 B. Brian <[EMAIL PROTECTED]>:
>
> > > > My OS is Windows XP professional.
>
> > > > When following the steps from the following link:
>
> > > >http://sites.google.com/a/insoshi.com/insoshi-guides/Git-Guides/quick.
> > ..
>
> > > > I got following error:
> > > > [EMAIL PROTECTED] /c/just4fun
> > > > $ sh configure_insoshi_local.sh u196598
> > > > Cloning official insoshi repository...
> > > > Initialized empty Git repository in c:/just4fun/insoshi/.git/
> > > > remote: Generating pack...←[K
> > > > remote: Done counting 9353 objects.←[K
> > > > remote: Deltifying 9353 objects...←[K
> > > > remote:  100% (9353/9353) done←[K
> > > > remote: Total 9353 (delta 5153), reused 9353 (delta 5153)←[K
> > > > Receiving objects: 100% (9353/9353), 6.66 MiB | 77 KiB/s, done.
> > > > Resolving deltas: 100% (5153/5153), done.
> > > > Checking out files: 100% (2185/2185), done.
>
> > > > Adding remote connection to forked repository...
>
> > > > Fetching remote branch information...
> > > > Permission denied (publickey).
> > > > fatal: The remote end hung up unexpectedly
> > > > ERROR encountered fetching branches from remote u196598
>
> > > > [EMAIL PROTECTED] /c/just4fun
> > > > $
>
> > > > Looks like the publickey is the problem. I used puttygen to generate
> > > > the key. The instruction steps can be found from the link:
> > > >http://github.com/guides/providing-your-ssh-key
>
> > > > Anyway, I followed the steps from the link:
> > > >http://github.com/u196598/insoshi/tree/master
> > > > to run the app on my on laptop. After installing necessary libraries
> > > > and gems and configuring MySQL database, I did following steps without
> > > > ANY errors:
>
> > > > rake install
> > > > rake db:test:prepare
> > > > rake spec
> > > > rake db:sample_data:reload
> > > > ruby script/server
>
> > > > The app is running fine on my pc without any issues.
>
> > > > My questions are:
> > > > 1. Is my publickey not right? If not right, what is the right way to
> > > > generate it?
>
> > > > 2. Is my Git environment not right?
> > > > I got git info from the following link:
> >http://code.google.com/p/msysgit/
> > > > and installed git by running Git-1.5.5-preview20080413.exe file.
>
> > > > 3. What are exact Git commands under Windows XP to do check out and
> > > > check in? These are two most important things for me now: check out so
> > > > I can get the latest updates from the repository; check in so I can
> > > > save my changes to the repository.
>
> > > > Thanks a lot for your help!
>
> > > > Brian
>
> > > --
> > > Long Nguyen
> > > [EMAIL PROTECTED]
>
> --
> Long Nguyen
> [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to