Disappearing head in git repo -
I have encountered a strange problem with my GIT repo, leaving the master in the cloning process, leaving all the heads Is not the reference ID only to file the head? Or should it be registered to clone elsewhere?
It looks as though William Purcell described:
cd a $ git branch master * $ cd .. $ git clone ab / pvt / tmp / b / guit Initial vacant guit repository = "text">
All branches are not pushed into your remote repository Remote repository cloning should include all remote branches automatically.
Note that the remote branch is not automatically created by local branches. You can use the git branch -a
command to view all those branches. Example:
$ git branch -a * Master Remotes / Original / Next Remote / Original / Head - & gt; With this, we can change the "next" remote branch with the git checkout -b
in the local code and specify. Remote branch as the starting point: $ git co-b next original / next branch to further track the remote branch further from the next installation original.
And now you're ready to work on "Next".
Comments
Post a Comment