Skip to content

Instantly share code, notes, and snippets.

@suhasg10495
suhasg10495 / collaborate_on_branches.md
Created February 24, 2022 04:07 — 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).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.