Skip to content

Commit

Permalink
finos#989 Updated docco for handling remotes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjstevo authored and naleeha committed Jan 22, 2024
1 parent 3b62b3b commit f524d08
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/faq/faq.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# FAQs

- [001 - How do I debug JSON Messages on the Wire](debugging_json_messages)
- [002 - Working on other peoples Git remotes](git_remotes)
23 changes: 23 additions & 0 deletions docs/faq/git_remotes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Working on other people's Git remotes

```bash
# change forkname for the fork you want to use
git remote add <forkname> https://github.com/<forkname>/vuu.git

# check remote has been added
git remote -v

# fetch the remote
git fetch <forkname>

# check out the branch
git checkout -b <branchname> --track <forkname>/<branchname>

```
## Merging into your local working branch

(make sure you're checked out on your working branch and that you've already added their remote and fetched as above)
```bash
git merge <forkname>/<branchname>
```

0 comments on commit f524d08

Please sign in to comment.