Skip to content

Instantly share code, notes, and snippets.

View SuphawitCE's full-sized avatar
:octocat:
Talk is cheap, Show me the code.

SuphawitCE

:octocat:
Talk is cheap, Show me the code.
  • Bangkok
  • 03:15 (UTC -12:00)
View GitHub Profile
@SuphawitCE
SuphawitCE / collaborate_on_branches.md
Created September 25, 2021 06:26 — forked from elfrank/collaborate_on_branches.md
How to work on someone else's branch

#How to work on someone else's branch

Let's assume you need to collaborate with Batman on his forked repository.

  • First, you need to add his fork as a remote.
git remote add batman git@github.com:batman/iambatman.git
  • Now, you can fetch, pull and push to his fork (if you have permissions to do so).