Git的常用命令

git上传常用命令的基本流程

git init //初始化git仓库
git add . //将文件提交到暂存区
git commit -m '说明'
git remote add [本地自定义远程仓库名] [远程仓库url]  //建立远程仓库
git push <远程主机名> <本地分支名>:<远程分支名>
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×