News for hackers. Stuff that matters.
Re:Things to commit just before leaving your job by mavelikara on Wednesday August 19, 2015 @08:02AM (#10084880)
I am curious - wouldn't your Version Control system catch this and warn him that "file xyz has changed since you last checked it out, ..." etc?
Re:Things to commit just before leaving your job by praseodym on Wednesday August 19, 2015 @08:12AM (#10084918)
DVCS systems like Git and Mercurial will require you to merge, but if you use a GUI VCS frontend it's really easy to choose the "use my local stuff" button. Been there with some university projects groups. (These people also liked the "force push" method of merging.)
Re:Things to commit just before leaving your job by jerven on Wednesday August 19, 2015 @08:31AM (#10084992)
You turn this capability off. I did and I sleep much better since!
Re:Things to commit just before leaving your job by shoo on Wednesday August 19, 2015 @08:13AM (#10084921)
maybe it does, then he just hammers the "yeah yeah proceed" option to ignore that and make it hurry up and do the thing he wants it to do
Re:Things to commit just before leaving your job by tedunangst on Wednesday August 19, 2015 @10:09AM (#10085562)
There is no warning.

    Pull
    cp * ../work
    cd ../work
    Work
    (cd ../src && pull)
    cp * ../src
    cd ../src
    Commit
Re:Things to commit just before leaving your job by jasonlotito on Wednesday August 19, 2015 @10:19AM (#10085645)
Code reviews people! Proper code review system in place prevents this!