How to work on existing branch/repository in GitLab created by other user? -


i new gitlab. have given access existing repository other user , supposed work on branch. not sure how can start working on project locally , commit changes.

p.s.- have work using .net

please guide me, helpful.

thanks

first need clone repository local machine.

git clone git://gitlab.com/myproject

now can see local branches

$ git branch

to see branches

$ git branch -a

now if want work on branch other master,you need create local branch tracking remote one.

$ git checkout -b other_branch origin/other_branch

now, can start working on other branch locally.hope helps.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -