##study in the net in my life in everywhere
-
On internet Surf the Internet
-
On book This's really hypnosis.
-
Learn from teacher Cramming education
-
At the end of is the reason why I come here.
The next time I will share some pictures.
git config --global user.name "MyName"
git config --global user.email "MyEmail"
git init
git add .
'''将.文件放入缓存区'''
git remote add origin URL
git pull origin master
git push origin master
- 新建分支
git branch newbranch
- 查看分支
git branch
- 切换分支
git checkout newbranch
- 可在当前分支上传
git add .
git commit -a
- 查看提交状态
git status
- 切换回主分支
git checkout master
- 将分支合并到主分支上
git merge newbranch
- 查看冲突
git diff
git push -u origin master
- 删除分支
git branch -D newbranch
- git clone your-url
- cd 项目
- git add .
- git commit -m "提交信息"
- git push -u origin master(将本地库push到github上)