Unable to find files from a git branch on local copy (clone) of github repo -
I have a repository on github on which a branch "strlen" was created. I can go to github.com and select that branch and see my latest earnings.
On my local computer, I did that repo cloned
git checkout string
I can not see the latest commit : In return, master earns only
What have I done the next step to see really visible files on the Gitubbo?
You will need (for you):
git fetch Orig git checkout -b strlen orig / strlen
If you were already in that branch, you can reset it to origin / strlen
: git checkout The strlen git fetch origin git was reset to the top of strlen
master
--hard orig / strlen (which is
< Code> git clone sspo GIT checkout Stellen # Strellan is now referenced from the current master
Since git checkout
Master
, a git pu Local branch was created in the same branch as the original strlen
as the local Stellen
(like Master) to merge
): This will be a fast forward merge, where local orig / strlen
strlen
moves from orig / strlen
.
Comments
Post a Comment