my-git-wiki-doing
2024-09-24 22:05:43
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
最新文章
- 介绍一个可以将Expression表达式树解析成Transact-SQL的项目Expression2Sql
- Spring3.0之后->;Spring MVC过滤器-HiddenHttpMethodFilter
- android-ListView控件的使用
- ssh 返回错误 Too many authentic authentication failures for root 的时候检查 ssh 配置
- 利用js制作异步验证ajax方法()
- 如何区分MNO和MVNO
- spring boot + neo4j restful
- 201521123001 《Java程序设计》第14周学习总结
- 【安富莱专题教程第6期】SEGGER的J-Scope波形上位机软件,RTT模式波形上传速度可狂飙到500KB/S左右
- xlua build时 报错处理
- DecimalFormat 的用法
- Codeforces Round #525 (Div. 2) D. Ehab and another another xor problem(待完成)
- CentOS 7安装Python3.5
- CentOS下防御或减轻DDoS攻击方法(转)
- P3412 仓鼠找sugar II
- powershell配置Gvim
- selenium+python自动化81-html报告优化(饼图+失败重跑+兼容python2&;3)
- ETL的测试
- 10w定时任务,如何高效触发超时
- Linux内核分析4
热门文章
- loadrunner 欺骗ip设置
- Python作业--登录接口
- Linq语法和C#6.0
- Spring Boot多数据源配置(二)MongoDB
- 第二阶段团队冲刺-seven
- P2324 [SCOI2005]骑士精神
- Strassen优化矩阵乘法(复杂度O(n^lg7))
- Codeforces Round #527 (Div. 3) ABCDEF题解
- [1]区分event对象中的[clientX,offsetX,screenX,pageX]
- d3.js path路径