I have a private project hosted on github. I have a production branch of that project. I got a new machine and I need to fix something on production. This is what I did.
git clone [email protected]:userid/project.git
# now I have master branch
git co -b production
git pull origin production
Using the above mechanism I am able to get production branch but I am getting merge conflicts which I do not want to deal with right now.
Is there a cleaner way of jut getting the production branch code on my local machine?