博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
在github上创建新分支
阅读量:7110 次
发布时间:2019-06-28

本文共 571 字,大约阅读时间需要 1 分钟。

在github上创建仓库:Create a new repository on the command linetouch README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin https://github.com/BrentHuang/MyRepo.gitgit push -u origin master在本地新建一个分支: git branch Branch1切换到你的新分支: git checkout Branch1将新分支发布在github上: git push origin Branch1在本地删除一个分支: git branch -d Branch1在github远程端删除一个分支: git push origin :Branch1   (分支名前的冒号代表删除)直接使用git pull和git push的设置git branch --set-upstream-to=origin/master master git branch --set-upstream-to=origin/ThirdParty ThirdPartygit config --global push.default matching

 

转载地址:http://sdmhl.baihongyu.com/

你可能感兴趣的文章
HTTPS抓包以及HOST配置
查看>>
工作技术小结-RPM制作和Jmeter+SSL
查看>>
Windows下安装Redis
查看>>
Java Web 编码问题三:URL和URI以及QueryString的编码问题
查看>>
the linux command line学习笔记之五
查看>>
JAVA对象和JSON互相转换(maven)
查看>>
线程 例子
查看>>
Swift3.0 类和结构体的选择
查看>>
Redis主从及其PHP扩展安装配置
查看>>
MySQL SELECT ... FOR UPDATE
查看>>
我的友情链接
查看>>
hadoop伪分布式搭建,运行 wordcount
查看>>
数据分析常用到的文件排序及对比命令
查看>>
SlidingUpPanel开源项目的用法
查看>>
Linux文件管理类命令之mv
查看>>
select循环
查看>>
spring整合quartz实现定时任务
查看>>
我的友情链接
查看>>
实习了两个月了,说说感悟吧..
查看>>
我的友情链接
查看>>