local git link romote github
来源:互联网 发布:mac osx 更新 编辑:程序博客网 时间:2024/06/05 14:16
1, -> git init
初始化git , 生成git文件夹
2, -> git status
查看文件状态变化
3, -> git add .
4, -> git commit -am '注释'
5. -> git remote add origin xxx@git
连接远程仓库
6. -> git branch
查看当前local分支,(-r : 远程分支)
7. -> git pull
从远程拉取当前分支的文件
8. -> git push -u -f origin master
从本地强制推送到远程master分支(第一次整合出现的情况,-f : 强制覆盖)
9. -> git checkout -b v1.0 origin/master
在master基础上开辟新的分支v1.0
10. -> git push origin HEAD -u
将本地分支同步到远程
阅读全文
0 0
- local git link romote github
- public the local git repository to github
- copy file from romote linux machine to windows local machine
- Push local non-git project to remote github repo
- local git
- IPv6 link-local和site-local address
- GitHub 常用命令(LocaL)
- Link-local Multicast Name Resolution
- android studio无法检出github项目,报错"/usr/local/bin/git" error=2
- Github link for MLA
- Git&Github
- Git - Github
- git -github
- git &github
- git &github
- git&&github
- Git&GitHub
- GitHub+Git
- Oracle中varchar2(4000)最多能存多少个汉字?
- Web接口测试工具--Jmeter
- Maven
- 更新一个文件夹下所有的文件
- Java调用MATLAB程序打包的jar包时出现错误MWEException
- local git link romote github
- KCF目标跟踪代码及注释
- css3软键盘不盖住输入框的方法
- opecv常用绘制函数
- 用lambda简化代码
- QT配置第三方库
- js 跨域请求controller时,controller的写法,使用的是ResponseEntity
- 初学gulp
- Struts2中struts-default.xml、struts.xml 及struts.properties详解