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. VS Code 快捷键 && 常用插件

    常用插件    分类 插件名称 说明 开发 C# C#语言 C# Extensions C#扩展功能(添加类,接口,智能提示) C# XML Documentation Comments 代码添加注释 ...

  2. 诚聘.NET架构师、高级开发工程师(2019年8月29日发布)

    招聘单位是ABP架构设计交流群(134710707)群主阳铭所在的公司 公司简介 七二四科技有限公司成立于2015年,成立之初便由金茂资本按估值2亿投资2200万,进行“健康724”平台搭建,2017 ...

  3. centOS服务器基本命令

    1.卸载/安装mySQL:(因为我是该服务器的管理员,所以这些命令都不用在前面加sudo) yum remove mysqlyum install mysql 2.进入根目录 cd / 3.查看cen ...

  4. webpack管理资源(loader操作)

    1.加载css npm install --save-dev style-loader css-loader webpack.config.js文件中: const path = require('p ...

  5. redis分享

    Redis介绍 ´Redis是一种基于键值对的NoSQL数据库. ´Redis基于内存来存放数据. ´速度快,官方给出读写性能可达到10万/秒(数据存内存,C语言实现,单线程架构). ´丰富的数据结构 ...

  6. MySQL 同一Windows系统上安装多个数据库

    Step 1:拷贝一份MySQL整个安装文件,并拷贝一份 my.ini 文件放置安装目录下,然后修改以下内容.注意 port 不能设置为默认的3306,这里我们设置为3307端口. basedir=C ...

  7. 爬虫---lxml简单操作

    前几篇写了一些Beautiful Soup的一些简单操作,也拿出来了一些实例进行实践,今天引入一个新的python库lxmt,lxmt也可以完成数据的爬取哦 什么是lxml lxml是python的一 ...

  8. 安装npm install app-inspector -g 提示错误

    问题1: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^ (node_modules\app-inspector\node_mod ...

  9. [排序][链表]Leetcode147 对链表进行插入排序

    思路: 插入算法的思想很简单,此题比较为链表数据类型,方便的是不用一个一个的向后移动元素,但是找到应该插入的位置相对麻烦,因为链表只有next指针,无法快速定位要插入的位置.在链表前面插入一个空指针, ...

  10. 理解docker镜像

    镜像是用来启动容器的只读模板,是容器启动所需要的rootfs,类似于虚拟机所使用的镜像. 列出本机镜像 [root@localhost ~]# docker imagesREPOSITORY TAG ...