0
点赞
收藏
分享

微信扫一扫

Git - 本地代码第一次远程推送

心存浪漫 2022-06-27 阅读 87

步骤如下:

  1. git init
  2. git add . // 添加所有修改
  3. git commit -m "comment..."
  4. git remote add origin​​https://gitee.com/xxxx.git​​
  5. git push -u origin master -f

-f 表示强制推送


举报

相关推荐

0 条评论