美文网首页
删除Github上的文件夹

删除Github上的文件夹

作者: 富竹 | 来源:发表于2020-04-23 10:34 被阅读0次
    1. 连接github上的仓库

    git remote add origin https://github.com/xxx/xxx.git

    1. 删除指定的文件夹

    git rm -r --cached 文件夹名称

    1. 提交仓库更新信息

    git commit -m 'delete xxx folder'

    1. 推送到仓库

    git push -u origin master

    相关文章

      网友评论

          本文标题:删除Github上的文件夹

          本文链接:https://www.haomeiwen.com/subject/hbroihtx.html