On Fri, Apr 6, 2012 at 7:24 PM, Tim Lahey <[email protected]> wrote:
> On Fri, Apr 6, 2012 at 12:21 PM, Chris Smith <[email protected]> wrote:
>>
>>
>> On Fri, Apr 6, 2012 at 9:53 PM, Saurabh Jha <[email protected]> wrote:
>>>
>>> I made some changes and tried to push the commits, but it returned an
>>> error--
>>>
>>> error: The requested URL returned error: 403 while accessing
>>> https://github.com/sympy/sympy/info/refs
>>>
>>> Please help me to fix this, so that I can fulfill my patch
>>> requirement.
>>>
>>
>> After making changes and committing them I just do `git push -f smichr foo`
>> where foo is the branch I want to update. The `-f` is needed to force the
>> update if you changed existing commits; if you only added new commits then
>> the -f is not needed.
>
> The problem here is that he's trying to push to Sympy directly rather
> than push to his fork and send a pull request.

Yes, looks like that.

Saurabh, I wasn't following the (probably existing) previous
discussion, sorry.  Did you follow [0] in setting up your environment?

If you *did* follow those instructions then, now, when you do

  $ git remote show

in the directory with your repository, you should see two names, one
is "sympy" and the other one should be something different, call it
<something-different>; in [0] it's called "github" but I somehow got a
different name in my case (probably messed something up).

To actually send your changes to GitHub you should run the following
command:

  $ git push <something-different> <your branch-name>

where <branch-name> is the name of branch you are trying to publish
the changes from.

Sergiu

[0] https://github.com/sympy/sympy/wiki/Development-workflow

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy?hl=en.

Reply via email to