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

GitFirstRemote的更多相关文章

随机推荐

  1. layui 使用随记

    layui confir使用 不显示右上角关闭按钮 针对提示框内按钮指定操作 layer.confirm("这里填写提示信息", {closeBtn:0,icon: 0, titl ...

  2. python基础(18):初识模块、re模块

    1. 认识模块 常见的场景:一个模块就是一个包含了python定义和声明的文件,文件名就是模块名字加上.py的后缀. 但其实import加载的模块分为四个通用类别: 1.使用python编写的代码(. ...

  3. Python中断多重循环的几种思路

    I. 跳出单循环 不管是什么编程语言,都有可能会有跳出循环的需求,比如枚举时,找到一个满足条件的数就终止.跳出单循环是很简单的,比如 for i in range(10): if i > 5: ...

  4. 致Python初学者的六点建议

    Python是最容易学习的编程语言之一,其语法近似英语.通常,初学者只会遇到一些小麻烦,如强制缩进.在函数中使用self等. 然而,当开始阅读.复制和编辑他人代码时,麻烦就接踵而至了. 这里,我将解释 ...

  5. 你以为你真的了解final吗?

    本人免费整理了Java高级资料,涵盖了Java.Redis.MongoDB.MySQL.Zookeeper.Spring Cloud.Dubbo高并发分布式等教程,一共30G,需要自己领取.传送门:h ...

  6. Java并发编程杂记(2)

    对象共享 synchronized 设定原子性确定临界区 + 内存可见性 要解决如下问题 防止一个线程在使用对象状态而另一个线程在修改对象状态:且当一个线程修改了对象状态后,对其他线程可见.   可见 ...

  7. Android应用打开外部文件

    我们有时候遇到要打开一个文件,我们可以选择用其他应用打开,这时弹出来的应用列表,那么我们如何让自己开发的应用也能出现在里面呢? 第一步:设置启动Activity的intent-filter,给data ...

  8. CODING 2.0:如何通过设计给品牌创造价值?

    升级背景 伴随着 CODING 理念的全面升级,CODING 正构建起覆盖构想到交付的全覆盖工具链,用户注册即可实践敏捷开发与 DevOps,提升软件交付质量与速度. 一直以来,CODING 作为软件 ...

  9. Python的3种执行方式

    1.Python源程序就是一个特殊格式的文本文件,可以使用任意文本编辑器软件做python的开发,python的文件扩展名为 .py   2.执行python程序的三种方式 解释器:用命令行输入:如输 ...

  10. 花了快一天,才搞出来的一个client-go的demo

    用来直接获取所有service的annotaion里有ambassador的东东. 或者,watch集群事件. package main import ( "fmt" " ...