开发者

GIT - Force Override of remote repository

My server provider somehow deleted the remote repository and so i need to override it with my local copy. However when i do git push origin master it says everything is up to date - but it's definitely not.

How can i force GIT to push all files regardless of the r开发者_StackOverflow中文版emote state?


Do like this When creating a git repository that will be on the server, can I convert it to a bare repository?

Then copy the bare version to the server.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜