I think I did ‘git pull’ before being in a branch, and now when I do ‘git branch’ it shows this:
* (no branch)
master
How can I move ‘no branch’ into ‘master’ so then I can do ‘git push’ ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To move between branches:
To push the commits of a branch without being in it, you can specify more parameters after the
pushcommand:This will push the local branch that tracks the remote branch called
branch_name.