github - Working with team in Git -


i working in team on git project , don't understand process should following.

  1. i clone project working on github
  2. i checkout develop branch work
  3. i git add .; git commit -a add new files

but working of other team players added new files git gives me error on git push.

what command should run right before push see if changed anything?

i believe looking git pull.

this command perform git fetch changes made colleagues. try perform git merge merge changes onto local working tree.

if merge not successful need resolve conflicts.

then able perform git push , colleagues need pull changes before push.

p.s. if have trouble using process use visual git client github, tower, smartgit or others.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -