undefinedfix
Sign in

How to empty all the contents in the remote git warehouse?

Anton edited in Sat, 03 Sep 2022

Problem description

I would like to ask you guys, how can I empty all the contents (Master branches) in the remote git warehouse?

2 Replies
rtwhite
commented on Sat, 03 Sep 2022

Just push it up.

openHBP
commented on Sat, 03 Sep 2022
$ git add .                // 把本地仓库的文件上传到缓存。
$ git commit -m 'del'      // 把第一步上传到缓存的东西上传到本地仓库,其中'del'是操作标识,内容随便填就行。
$ git push origin master   // 把本地仓库的文件上传到远程仓库。