git
dddcode
这个作者很懒,什么都没留下…
展开
-
.gitignore 文件使用
.gitignore使用 作用:告诉git目标文件不需要添加到版本管理中原创 2020-06-13 00:22:27 · 116 阅读 · 0 评论 -
git使用基本命令
git使用基本命令 1. git init //初始化仓库 2. git add .(文件name) //添加文件到本地仓库 3. git commit -m "first commit" //添加文件描述信息 4. git remote add origin + 远程仓库地址 //链接远程仓库,创建主分支 5. git pull origin master // 把本地仓库的变化连接到远程仓库主分支 6. git push -u origin master //把...原创 2020-05-30 13:00:45 · 103 阅读 · 1 评论