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 orig / strlen ): This will be a fast forward merge, where local strlen moves from orig / strlen .


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -