开发者

git hub repo linking

I am working on a site that I have a GitHub repo setup for. I just launched it, but like an idiot I didn't just pull the开发者_StackOverflow repo from GitHub to the new server, instead I did an FTP transfer only to realize my mistake later.

Is there an easy way to link up the server version with the existing git hub repo then do a dif and push the changes on the server version to the existing GitHub repo?


Go ahead and clone the repo to the other machine. Copy your changes to the working directory of the new clone. Commit and push and you should be back in business. Hope I'm understanding what you did.

Cheers

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜