GitFirstRemote
1.$ git ls-remote
From git@github.com:Smoothfu/WPFITEMSSOURCEPRODUCTCOLLECTION.git
9a6669a2e2c9e22b309fc3c94c43d27affaaeef7 HEAD
5046527222cf7000358cf2a9adc53551f7b13612 refs/heads/FifthBranch
bafece92ef9ef2fdcbda8a45f7feb12c845e8c2f refs/heads/FirstBranch
428048d22297ccf573f540b23e18e4d46460eeee refs/heads/FourthBranch
461e16b5491bb7465dd9b224604701820e6daa40 refs/heads/SECONDBRANCH
85ff43abb3d7baf5920a0d6a8e36cd6f78e91c94 refs/heads/SEcondbranch
06ca7fa7f1e35502a334cae0c72f85dd41e4972a refs/heads/SecondBranch
fd5c8aedb146f2f84c4a170813fa3ea8fcdb407b refs/heads/SixteenBranch
e8a482ccc476eb9664fdb857cac71937a1e0194a refs/heads/THIRDBRANCH
9a6669a2e2c9e22b309fc3c94c43d27affaaeef7 refs/heads/master
2. $ git push --set-upstream origin firstBranch
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (10/10), 1.24 KiB | 0 bytes/s, done.
Total 10 (delta 7), reused 0 (delta 0)
remote: Resolving deltas: 100% (7/7), completed with 7 local objects.
To github.com:Smoothfu/WPFITEMSSOURCEPRODUCTCOLLECTION.git
* [new branch] firstBranch -> firstBranch
Branch firstBranch set up to track remote branch firstBranch from origin.
3.git branch -vv
SeventhBranch 418fb89 [origin/SeventhBranch] SeventhBranch Commit
firstBranch 062991d [origin/firstBranch] FirstBranch Commit
master 9a6669a [origin/master] FirstBranchCommit
* sixthbranch 7955e64 [origin/sixthbranch] SixthBranchCommits
$ git ls-remote
From git@github.com:Smoothfu/WPFITEMSSOURCEPRODUCTCOLLECTION.git
9a6669a2e2c9e22b309fc3c94c43d27affaaeef7 HEAD
5046527222cf7000358cf2a9adc53551f7b13612 refs/heads/FifthBranch
bafece92ef9ef2fdcbda8a45f7feb12c845e8c2f refs/heads/FirstBranch
428048d22297ccf573f540b23e18e4d46460eeee refs/heads/FourthBranch
461e16b5491bb7465dd9b224604701820e6daa40 refs/heads/SECONDBRANCH
85ff43abb3d7baf5920a0d6a8e36cd6f78e91c94 refs/heads/SEcondbranch
06ca7fa7f1e35502a334cae0c72f85dd41e4972a refs/heads/SecondBranch
418fb89ed87483bbfe76eb836de2f9e2017b1fd6 refs/heads/SeventhBranch
fd5c8aedb146f2f84c4a170813fa3ea8fcdb407b refs/heads/SixteenBranch
e8a482ccc476eb9664fdb857cac71937a1e0194a refs/heads/THIRDBRANCH
062991dbf26181240e096568621cafb0e9de1bbd refs/heads/firstBranch
9a6669a2e2c9e22b309fc3c94c43d27affaaeef7 refs/heads/master
7955e64ca0276e3957d6488141fb97f6cb3235ff refs/heads/sixthbranch
4.
$ git push -u origin HEAD:SecondBranchs
Counting objects: 10, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (10/10), 943 bytes | 0 bytes/s, done.
Total 10 (delta 7), reused 0 (delta 0)
remote: Resolving deltas: 100% (7/7), completed with 7 local objects.
To github.com:Smoothfu/WPFITEMSSOURCEPRODUCTCOLLECTION.git
* [new branch] HEAD -> SecondBranchs
Branch SecondBranch set up to track remote branch SecondBranchs from origin.
5.
$ git branch -a
EighthBranch
FifthBranch
ForthBranch
* SecondBranch
SeventhBranch
firstBranch
master
sixthbranch
thirdBranch
remotes/origin/EightBranch
remotes/origin/FifthBranch
remotes/origin/FifthBranchs
remotes/origin/FirstBranch
remotes/origin/ForthBranch
remotes/origin/FourthBranch
remotes/origin/HEAD -> origin/master
remotes/origin/SECONDBRANCH
remotes/origin/SEcondbranch
remotes/origin/SecondBranch
remotes/origin/SecondBranchs
remotes/origin/SeventhBranch
remotes/origin/SixteenBranch
remotes/origin/THIRDBRANCH
remotes/origin/firstBranch
remotes/origin/master
remotes/origin/sixthbranch
remotes/origin/thirdBranch
最新文章
- python未知网卡名情况下获取本机IP
- Daily Scrum – 1/5
- git使用问题汇总
- ubuntu下安装 openssl 开发库
- java socket 发送文件
- js获取当前url信息
- 《Python 学习手册4th》 第七章 字符串
- memcached 在windows下安装及启动
- 读取excel出现空值
- 1136: 零起点学算法43——多组测试数据输出I
- 解读2017之Service Mesh:群雄逐鹿烽烟起
- Hi,这有一份风控体系建设干货
- Android 简单记事本
- Android BLE dfu升级
- 算法之Python实现 - 001 : 换钱的最少货币数
- Docker应用:Kubernetes(容器集群)
- servlet篇 之 生命周期
- MyEclipse里面如何把偏好设置导出
- HDU 5726 GCD(RMQ+二分)
- 玲珑OJ 1129 - 喵哈哈村的战斗魔法师丶坏坏い月
热门文章
- vscode 通过ftp发布vue到azure服务器
- 浅谈Java中switch分支语句
- SILK编码语音转WAV格式
- 微信小程序 + Bmob后端云
- Toast实现源码解析
- hadoop 自定义OutputFormat
- BayaiM__ oracle函数_03_fjfl
- 海思Hi3519A MPP从入门到精通(一 系统概述)
- postman---postman参数化
- 【cf741】D. Arpa’s letter-marked tree and Mehrdad’s Dokhtar-kosh paths(dsu on tree)