github项目quick setup

git初始化

git init

git添加remote

git remote add origin YOURS_REMOTE_URL

git修改remote的url

git remote set-url origin YOURS_NEW_REMOTE_URL

git设置push时当前branch对应的remote

git push --set-upstream origin master

查看远程和本地的所有分支

git branch -a

本地新增分支a

git checkout -b a

对应的远程新增分支a

git push :
git push origin a:a

删除远程分支

git push origin :a

使当前local分支追踪remote的某一分支

git branch --set-upstream-to=/ local-branch
git branch --set-upstream-to=origin/asset-manage asset-manage

最新文章

  1. 介绍一个可以将Expression表达式树解析成Transact-SQL的项目Expression2Sql
  2. Spring3.0之后->Spring MVC过滤器-HiddenHttpMethodFilter
  3. android-ListView控件的使用
  4. ssh 返回错误 Too many authentic authentication failures for root 的时候检查 ssh 配置
  5. 利用js制作异步验证ajax方法()
  6. 如何区分MNO和MVNO
  7. spring boot + neo4j restful
  8. 201521123001 《Java程序设计》第14周学习总结
  9. 【安富莱专题教程第6期】SEGGER的J-Scope波形上位机软件,RTT模式波形上传速度可狂飙到500KB/S左右
  10. xlua build时 报错处理
  11. DecimalFormat 的用法
  12. Codeforces Round #525 (Div. 2) D. Ehab and another another xor problem(待完成)
  13. CentOS 7安装Python3.5
  14. CentOS下防御或减轻DDoS攻击方法(转)
  15. P3412 仓鼠找sugar II
  16. powershell配置Gvim
  17. selenium+python自动化81-html报告优化(饼图+失败重跑+兼容python2&3)
  18. ETL的测试
  19. 10w定时任务,如何高效触发超时
  20. Linux内核分析4

热门文章

  1. loadrunner 欺骗ip设置
  2. Python作业--登录接口
  3. Linq语法和C#6.0
  4. Spring Boot多数据源配置(二)MongoDB
  5. 第二阶段团队冲刺-seven
  6. P2324 [SCOI2005]骑士精神
  7. Strassen优化矩阵乘法(复杂度O(n^lg7))
  8. Codeforces Round #527 (Div. 3) ABCDEF题解
  9. [1]区分event对象中的[clientX,offsetX,screenX,pageX]
  10. d3.js path路径