請問 git中 origin/HEAD 指的是 - Linux

By Quintina
at 2014-07-31T20:14
at 2014-07-31T20:14
Table of Contents
請問各位
我下命令 git branch -r 得到下面結果
origin/DevelopJsonComponent
origin/DevelopJsonComponent2
origin/HEAD -> origin/master
origin/developing2
origin/master
可是我一直不懂這個 origin/HEAD 是?
他是如何產生的呢?
為何會指向 origin/master?
好像不是所有的遠端都會有這個?
在遠端使用HEAD去指向一個遠端的branch有意義嗎?畢竟遠端只是儲存,沒有實際工作
請問這個可以刪掉嘛?
如果可以要如何做?
--
我下命令 git branch -r 得到下面結果
origin/DevelopJsonComponent
origin/DevelopJsonComponent2
origin/HEAD -> origin/master
origin/developing2
origin/master
可是我一直不懂這個 origin/HEAD 是?
他是如何產生的呢?
為何會指向 origin/master?
好像不是所有的遠端都會有這個?
在遠端使用HEAD去指向一個遠端的branch有意義嗎?畢竟遠端只是儲存,沒有實際工作
請問這個可以刪掉嘛?
如果可以要如何做?
--
Tags:
Linux
All Comments

By Andy
at 2014-08-02T04:31
at 2014-08-02T04:31

By Andy
at 2014-08-03T05:46
at 2014-08-03T05:46

By Leila
at 2014-08-03T10:44
at 2014-08-03T10:44

By David
at 2014-08-07T04:06
at 2014-08-07T04:06

By Wallis
at 2014-08-09T19:32
at 2014-08-09T19:32

By Hedda
at 2014-08-12T00:14
at 2014-08-12T00:14

By Anthony
at 2014-08-16T06:44
at 2014-08-16T06:44

By John
at 2014-08-18T03:32
at 2014-08-18T03:32

By Mia
at 2014-08-18T08:21
at 2014-08-18T08:21

By Gilbert
at 2014-08-22T02:53
at 2014-08-22T02:53

By Kelly
at 2014-08-22T06:37
at 2014-08-22T06:37

By Ivy
at 2014-08-22T10:40
at 2014-08-22T10:40

By Susan
at 2014-08-27T09:26
at 2014-08-27T09:26

By Franklin
at 2014-08-28T03:49
at 2014-08-28T03:49

By Edith
at 2014-08-29T03:31
at 2014-08-29T03:31
Related Posts
數台NAS集中控制方法

By Zora
at 2014-07-30T15:48
at 2014-07-30T15:48
makefile變數的問題

By Andy
at 2014-07-30T12:58
at 2014-07-30T12:58
git server on nas(asustor)

By Frederic
at 2014-07-29T17:47
at 2014-07-29T17:47
Shell script有幾種寫法

By Erin
at 2014-07-29T15:14
at 2014-07-29T15:14
NIS設定完成後無法登入SSH

By Zora
at 2014-07-28T22:58
at 2014-07-28T22:58