tortoisegit - What should Git committers do to avoid overwriting others' changes? -


i created git repository on bitbucket project 5 committers. of new git , using tortoisegit. have master branch , want simple "svn-like" workflow: other people's changes, make changes yourself, let other people see changes.

one particular committer seems having lot of trouble git , he's overwritten other people's changes several times now. undoing damage difficult, because don't know git either. can't watch him uses git, don't know does, i'd tell him: here's ensure doesn't happen. svn be: before committing, update first, merge changes , test still works. should tell him git?

if you're going use git, should use power git offers... branches!

on assumption don't want complicate workflow more necessary though, tell developer before committing, git pull --rebase. in nutshell, will: a) save off local changes, b) pull remote changes (that is, changes others have committed and pushed), c) replay local changes onto new code base.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -