0

Having a bit of bother with the following

I am working in a directory such like

cd ~/RepoPlugin

I have edited a file and when I try push it to github it comes back

rejected master -> master (non-fast-forward)

So I tried the following inside my RepoPlugin directory

git pull

This did not update my local files

So I resorted to editing my file on the github website. But I can't seem to sync things up anymore.

I don't want to fork anything, I just want to download what changes has been made on the website to the local directory.

4

1 回答 1

1

更准确地指定你想要拉的东西,我已经发生过几次这种情况,并且每次都简单地说明起源和主作品,当git pull失败时。

git pull origin master

于 2012-11-27T12:32:50.447 回答