Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am andabak on github.
  • I am andabak (https://keybase.io/andabak) on keybase.
  • I have a public key ASDI4UcpnivzxkmcsBEv2Zfeq_njh7FPN3TFkFJKywDkjQo

To claim this, I am signing this object:

@andabak
andabak / contribute_github_without_write_access.md
Created December 13, 2022 11:25 — forked from dlaehnemann/contribute_github_without_write_access.md
contributing to github repo without write access: pull from origin repo, push to your own fork

Whenever I want to create pull requests to a repo that I don't have write access to, I:

  1. Fork the original repo to my account.
  2. Clone the original repo to my local machine.
  3. Add my fork as an additional remote and make it the push default.
  4. Make changes in a new branch locally.
  5. Push this branch to my fork.
  6. Create a pull request from there.