Pergunta

I have cloned a repository from github and checked out a remote branch. I made a change to the remote branch, committed it, but then when I try to push the change back to the remote branch I get the message "Everything is up-to-date". What am I doing wrong here? Plus, it doesn't let me push to the branch, the only option is master.

I'm using git gui, and checking out the branch was very simple. I just can't figure out how to push the change back to the repository. Any help is appreciated, thanks!

Foi útil?

Solução

From the command line,

git push -u origin branch-name

Now in git gui you should have that branch come up

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top