开发者

git hub repo linking

开发者 https://www.devze.com 2023-04-06 04:30 出处:网络
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 t

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

精彩评论

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