git把本地工程推送到远程仓库

发布时间 2023-03-27 14:45:23作者: 空虚公子

假设远程地址为:

 https://gitee.com/donghuawang0658/git-study.git   

分支:

  test

本地操作:

  1 进入项目跟目录

  2 git init

  3 git add .

  4 git commit -m '推送到远程'

  5 git checkout -b test

  6 git push origin test