Paul Kendal
Paul Kendal

Reputation: 565

how to upload files to a forked version of my gitHub repository

I created a repository on gitHub and uploaded my local module to it.

i then invited contributers to join the project. they forked the original repository on gitHub and called it :

theCopy

i have now substiancially changed the local version of my module (the version on my laptop) and i want to upload it to the forked version on the gitHub account ('theCopy').

I am not clear how to do that

i tried :

> git push origin theCopy

but nothing happened.

would appricate some advice.

Upvotes: 0

Views: 1488

Answers (1)

Harsha Kuchampudi
Harsha Kuchampudi

Reputation: 153

Just push your changes to the main Repo that everyone has synced from and then on the forked account why don't you just run:

git fetch upstream
git merge upstream/master

If you haven't setup an upstream:

git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git

You can refer here for official documentation. Additionally, I would check out the following resources to learn git:

Upvotes: 1

Related Questions