cmd中
git status 查看当前状态
git add. 添加所有的文件到队列中
git commit -m "name" 提交并用name备注
linux系统中的创建文件 touch= cmd中的echo text>
在.gitignore中写入文件的名称会将其隐藏
git branch name 以name为名称建立一个分支
git check name 跳转到以name为名的分支\主线中去
git merge 将分支和主线合并
git remote 查看本地与GitHub的连接情况
git remote rm origin 去除 origin
网友评论