How to work with remote branches?

0

I'm having a hard time working with a remote git branch:

We have a server on our internal network where the project is. Two programmers will work and it has two branches: master and Devel . We intend to keep the master practically untouched, so let's work on Devel .

On the server I created the Devel branch, and when I go to work with it I clone:

git clone //10.0.0.100/projeto --branch Devel

In the local copy I work normally and run the commits for what I'm doing:

git add .
git commit -m "Teste de alterações"

At the end of the job, I send it to the server:

git push origin Devel

However, when I clone another branch (or another machine) the "Devel" branch, none of the changes come.

Where did I go wrong?

    
asked by anonymous 23.08.2018 / 20:00

0 answers