git基础命令使用

cd existing_folder
git init 初始化 git remote add origin https://codeup.aliyun.com/64f97952ce01efaafef1e811/php/test.git 设置远程地址 git add . 添加代码到仓库 git commit 提交代码到仓库 git push -u origin master 推送至远程git git branch 查看当前分支 git branch tianshu 创建tianshu分支 git checkout tianshu 切换分支 Git push -u origin tianshu

  

posted @ 2024-04-08 16:28  知风阁  阅读(10)  评论(0编辑  收藏  举报