[Bioperl-l] Regarding git commits...

Jay Hannah jay at jays.net
Thu May 20 19:09:00 UTC 2010


On May 20, 2010, at 1:43 PM, Chris Fields wrote:
> It should, yes, and it is a nice selling point.  But you can update local or set up a new clone from remote, then save over any changes with a backup copy from an old (non-merged) version, then commit.  That's something that can happen in any VCS.

So... you're saying don't commit if you don't have any idea what you're committing?  :)

git pull
git diff
git status
if local is clean then
   -edit-
   git diff     if it looks good then   git commit
   git status   if it looks good then   git push

Jay Hannah
http://biodoc.ist.unomaha.edu/wiki/User:Jhannah
enjoys preaching to the choir   ;)





More information about the Bioperl-l mailing list