• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: git question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: git question


  • Subject: Re: git question
  • From: Michael Hast <email@hidden>
  • Date: Wed, 14 Nov 2012 13:26:35 -0700

Hi Ted:

That sounds about right. I just went through this with our company. If you never want to commit an enhancement to Wonder you don't even need to create a fork on github. You could just clone https://github.com/projectwonder/wonder.git.

Now if you want to make changes to Wonder, then you need your own fork and commit those changes to your own fork and create a pull request. Making a Pull Request should only be made from a branch of of the integration branch, so you got to be careful there.

Michael

On 11/14/2012 11:25 AM, Theodore Petrosky wrote:
I hope I have this correctly setup, I just want to confirm it with you git guys.

I forked the wonder repo to my own area on github, then I created a folder on the root area of my user on my mac and cd'd into it.

cd ~/Repository and cloned my fork:

git clone https://github.com/tedpet/wonder.git

so if I understand correctly. there exists now the original Wonder repo (that I can not write to), and there exists a copy (fork) in my github account. Then there is the copy (clone) on my Mac.

at this moment in time they are all equal.

I added to my local copy:

git remote add upstream https://github.com/projectwonder/wonder.git
and:
git checkout integration

So now my local copy knows about the original projectwonder repository on github and I am in the integration branch.

so here is the pertinent conundrum. I want to make sure my local Wonder repo is up to date with what ever youse guys are doing with project wonder.

so in the terminal I navigated to the wonder repro and issued:
git fetch upstream
git merge upstream/integration

If I understand correctly, my local repository is now up to date with the projectwonder/wonder.git repo. However, my fork in my user account on github is not.

So if I never intend to make changes to Wonder, I am done. If I want to fix a bug in project Wonder or add comments or documentation, I need to push from my local repo to my forked copy on github, then get these changes/fixes to someone with write capability to add it to the project.

Does anyone see that I am stepping on myself somewhere?

Thanks for looking at this rambling mess.

Ted
  _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


--
Tel: (602) 279-4600 ext: 635
Desert Sky Software: www.desertsky.com
    Specializing in the Development and Hosting of
    e-Business Applications.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >git question (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: NullPointerException on non-null attribute
  • Next by Date: Re: NullPointerException on non-null attribute
  • Previous by thread: git question
  • Next by thread: Re: git question
  • Index(es):
    • Date
    • Thread