# Git Access

- Thread: https://externals.io/message/64164
- Original archive: https://news-web.php.net/php.internals/64164
- Started by Sara Golemon on 2012-12-05T22:02:38+00:00
- Messages: 7
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #64164 — Sara Golemon — 2012-12-05T22:02:38+00:00

URL: https://externals.io/message/64164#64164

It's been awhile since I last commited (pre git, in fact) and now I'm
getting a failure during 'git push'.  It asks for my password, I enter
it, it asks again, I enter again, and I get a permission denied error.
 Do I need to do something to update my access?  I've done a password
change on master.php.net hoping that'd propagate out but still no
love.

-Sara

---

## #64165 — Rasmus Lerdorf — 2012-12-05T22:13:59+00:00

URL: https://externals.io/message/64164#64165 · In reply to: #64164

> It's been awhile since I last commited (pre git, in fact) and now I'm
> getting a failure during 'git push'.  It asks for my password, I enter
> it, it asks again, I enter again, and I get a permission denied error.
>  Do I need to do something to update my access?  I've done a password
> change on master.php.net hoping that'd propagate out but still no
> love.

See the "Using SSH" section of the Git FAQ - https://wiki.php.net/vcs/gitfaq

You didn't add your ssh key.

-Rasmus

---

## #64166 — Hannes Magnusson — 2012-12-05T22:14:19+00:00

URL: https://externals.io/message/64164#64166 · In reply to: #64164

Which push url are you using?
See https://wiki.php.net/vcs/gitfaq?#clone_url_and_push_url

You may want to upload your key to master and use the ssh urls

-Hannes



> It's been awhile since I last commited (pre git, in fact) and now I'm
> getting a failure during 'git push'.  It asks for my password, I enter
> it, it asks again, I enter again, and I get a permission denied error.
>  Do I need to do something to update my access?  I've done a password
> change on master.php.net hoping that'd propagate out but still no
> love.
>
> -Sara

---

## #64168 — Sara Golemon — 2012-12-05T23:38:56+00:00

URL: https://externals.io/message/64164#64168 · In reply to: #64165

RTFMing is hard, thanks. :)

remote: Welcome pollita.
remote: Changesets accepted. Thank you for your contribution.
remote:
remote: Attempting to push to mirror git@github.com:php/php-src.git
remote: Write failed: Broken pipe
remote: fatal: The remote end hung up unexpectedly
To https://git.php.net/push/php-src.git
   c058ed5..5ac3577  master -> master

The push to git.php.net succeeded, but its push to github failed.  Is
there a process that deals with keeping the repos in sync in events
like this?

-Sara


> 
> > […]
>
> See the "Using SSH" section of the Git FAQ - https://wiki.php.net/vcs/gitfaq
>
> You didn't add your ssh key.
>
> -Rasmus

---

## #64169 — Alexey Zakhlestin — 2012-12-06T05:32:20+00:00

URL: https://externals.io/message/64164#64169 · In reply to: #64168

> RTFMing is hard, thanks. :)
> 
> remote: Welcome pollita.
> remote: Changesets accepted. Thank you for your contribution.
> remote:
> remote: Attempting to push to mirror git@github.com:php/php-src.git
> remote: Write failed: Broken pipe
> remote: fatal: The remote end hung up unexpectedly
> To https://git.php.net/push/php-src.git
>   c058ed5..5ac3577  master -> master
> 
> The push to git.php.net succeeded, but its push to github failed.  Is
> there a process that deals with keeping the repos in sync in events
> like this?

I believe it will eventually sync, as "push" propagates all changes, not just specific commit

---

## #64198 — David Soria Parra — 2012-12-08T15:28:33+00:00

URL: https://externals.io/message/64164#64198 · In reply to: #64168

> remote: Welcome pollita.
> remote: Changesets accepted. Thank you for your contribution.
> remote:
> remote: Attempting to push to mirror git@github.com:php/php-src.git
> remote: Write failed: Broken pipe
> remote: fatal: The remote end hung up unexpectedly
> To https://git.php.net/push/php-src.git
>    c058ed5..5ac3577  master -> master
>
> The push to git.php.net succeeded, but its push to github failed.  Is
> there a process that deals with keeping the repos in sync in events
> like this?

No, the next push will sync it again. I can setup a cronjob to do that
every 15mins.

---

## #64212 — Sara Golemon — 2012-12-09T20:43:39+00:00

URL: https://externals.io/message/64164#64212 · In reply to: #64198

Yeah, a subsequent push picked it up.  Don't think we need to worry
about cronning it, but I'll add a note to the git workflow page
mentioning how recovery works in this situation for future reference.


> 
> > […]
>
> No, the next push will sync it again. I can setup a cronjob to do that
> every 15mins.
