Git 基本操作、远程仓库、分支管理、远程仓库地址、忽略 .gitignore等
1.git 基本操作
1.自报家门
git config --global user.name wodemingzi
git config --global user.email wodeemail
2.查看仓库状态 git status, git add index.php 提交至暂存区, 提交至版本库 :git commit a.php -m “add a.php”
3.删除 git rm a.php
4.重命名,git mv old.php new.p
原创
2020-06-19 12:50:05 ·
197 阅读 ·
0 评论