Z
Z
zigen2016-04-21 17:40:48
git
zigen, 2016-04-21 17:40:48

How to upload to someone else's GIthub repository?

Good afternoon. I was added to one private repo on github. (I received a notification You can now push to this repository.)
I need to file a few edits on the code and pour it in accordingly. What is my course of action? Only without forking this repo to your github.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
D', 2016-04-21
@zigen

Add git remote add [url]
and push to it.
Or just clone it and push it the same way.

A
Andrey Andreev, 2016-04-21
@b0nn1e

1. Copy the repository locally.
2. Create branch [branch_name]
3. Make changes
4. Make one or more commits.
5. Create a remote branch.
In the future, when the remote branch is created, then simply
6. Create a pull-request in the github interface. From your branch to master.
7. the author or you yourself merge/decline the pull-request.
At this stage, you can add comments or remarks to the code, fix something.
8.When the pull request is uploaded, you switch to master locally and pull all the changes.
If there is something else you need to do, repeat steps starting from 2.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question