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
GitFirstRemote的更多相关文章
随机推荐
- git登陆
git登陆 1. 执行登陆用户名和密码命令 git config --global user.email "you@example.com" git config --global ...
- Java日期时间API系列3-----Jdk7及以前的日期时间类的不方便使用问题
使用Java日期时间类,每个人都很熟悉每个项目中必不可少的工具类就是dateutil,包含各种日期计算,格式化等处理,而且常常会遇到找不到可用的处理方法,需要自己新增方法,处理过程很复杂. 1.Dat ...
- python 通过使用pandas的实现的Excel的批量转换CSV文件的处理
---恢复内容开始--- 最近同事在处理文件导入的时候需要把一批文件换成CSV的格式,但是直觉修改后缀是不生效的,而且xlsx和xls的文件没法直接换成CVS的文件,所以找了一下方式,并且自己实现了p ...
- nginx location 配置详解
指令作用 匹配指定的请求uri(请求uri不包含查询字符串,如http://localhost:8080/test?id=10,请求uri是/test) 语法形式 location [ = | ~ | ...
- ntp服务设置开机自启动失败
设置了ntpd开机自启动,重启服务器ntpd没有自启动 1.需要禁掉chronyd.service: systemctl disable chronyd.service 2.手动启动ntpd: sys ...
- pyspark 使用时环境设置
在脚本中导入pyspark的流程 import os import sys spark_name = os.environ.get('SPARK_HOME',None) # SPARK_HOME即sp ...
- itest(爱测试) 3.3.7 发布,开源BUG 跟踪管理& 敏捷测试管理软件
v3.3.7 下载地址 :itest下载 itest 简介:查看简介 V3.3.7 增加了 5个功能增强,和8个BUG修复 ,详情如下所述. 5个功能增强 :(1)任务看板中,除了显示任务外,增加测试 ...
- c# WF 第2节 窗体的添加与删除
本节内容: 1: 窗体的添加 2: 窗体的删除 1: 窗体的添加 2: 窗体的删除 3:窗口的运行,发现只有一个form1 是因为
- requests的请求机制
库结构: 工作机制: api.py get.post.put.delete等请求方式都在api文件中,另外,api文件中还有个request方法,使用任何一种请求方式都是调用request方法,只是传 ...
- remote: http basic: access denied fatal: authentication failed for '‘解决办法
问题描述 由于这个项目代码使用https 进行clone,为什么?因为代码库ssh有问题!fuck! 导致在push代码的时候出现了 remote: http basic: access denied ...