Git: How do I keep update with a specific branch? -
question 1 if have not yet created git repo locally, , need first time sync specific branch.
question 2 if local folder git in sync master, , want sync branch ?
- if don't have local repo, have nothing. first have clone remote repository using 
git clone <remote_repo_url>. - if want start developing on different branch, if name of branch 
branch_name, execute commandgit checkout branch_name. note assumes branch exists on local repository. if exists on remote repository, run commandgit fetch --allpull remote branches onto local branch. 
Comments
Post a Comment