sciguy1121 / Community-Mod-1

Community Mod 1
GNU Lesser General Public License v3.0
10 stars 16 forks source link

Can't commit work. #130

Closed Fermats-Fish closed 11 years ago

Fermats-Fish commented 11 years ago

I have just finished work on the structure generation and committed the result, however when I try sync the repository an error comes up saying I don't have permission to push my changes to the repository. Anyone know why? Thanks!

EliSussman commented 11 years ago

Thats very weird...

Techtad commented 11 years ago

Well, I had a similar problem.

  1. Try to keep your version of this repository in 100% sync with sciguy's
  2. Make sure you add the commit to your version of the repository. (If your not sure, then just open some kind of terminal, change the directory to where you have the files for this project, then just type: git push https://github.com/netherrod05/Community-Mod-1.git master)
  3. If everything worked to this step then regular pull request should work.

I hope this helped.

Fermats-Fish commented 11 years ago

Okay. Thanks.

Fermats-Fish commented 11 years ago

Sorry I can't figure out how to sync my version of the project to sciguy's.

EliSussman commented 11 years ago

do you have a mac or pc?

Fermats-Fish commented 11 years ago

pc Windows if it helps

Fermats-Fish commented 11 years ago

I am using the git hub software that you can use for windows mostly as well. Although I do also have the git shell installed.

Fermats-Fish commented 11 years ago

And the git bash

EliSussman commented 11 years ago

delete the repository and then refork and download it again

Techtad commented 11 years ago

Well, I have windows too.

To sync your version of the repository with sciguy's you need to open git shell. Go to your repo directory, and type in: git pull https://github.com/sciguy1121/Community-Mod-1.git master to download this version of the repository. Then just go to the directory of your MCP. Make a backup of the files that you have changed/made for the structure generation....

Fermats-Fish commented 11 years ago

Thanks guys I'll try them. :)

Techtad commented 11 years ago

Copy the files from the repository dir(They should be fresh, up to date sciguy's version files) into your MCP. Add in the file that you have in a backup and that you have created(not changed), add the lines of code that you have changed in the code(DON'T paste the changed files that you have in the backup). then just copy all the src from the MCP to the repository dir...

Techtad commented 11 years ago

Open git client, commit the changes. Sync them with your version of the repository and the go to your version of the repository on your browser. Just click pull request. Give it a title and a description. That should be all you need to do to keep your repository in sync and pull your changes to sciguy1121.

Fermats-Fish commented 11 years ago

It worked! Thanks! :)