I am working in a team on a git project and I really don't understand the process we should be following.
- I clone the project I am working on from Github
- I then checkout the develop branch to do my work
- I do a
git add .; git commit -a
to add my new files
But as I was working some of the other team players added new files so now Git gives me a error on git push
.
What command should I run right before my push to see if anyone changed anything?