0

I have created a branch called 'dan-development' off the master branch. We're using github, and the github app on our desktops. I commited then synced everything, and now want to show those updates on my development server (command line).

I've switched the branch to dan-development on the dev server, but I cannot for the life of me figure out how to grab updates or sync it.

I've tried git pull, git fetch. Neither seem to do anything.

Help?

4

1 回答 1

1

@Dan Joseph,从命令行你可以做一件事“git reset --hard HEAD^”,这会清理你的历史,现在你可以简单地“git pull origin branchname”,你应该得到所有更新的更改。

于 2013-05-21T18:40:10.900 回答