[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-dev: A warning about Git (learn from my mistake!)



I just made a mistake with git, and perhaps (to me anyway) not an
obvious one.

Having branched off origin for some fixes I was doing, had a stack of
patches in that branch. I used stg commit on the one patch I had applied
and wanted to push into the main repository.

Having verified:
git log origin..

showed the ONE patch I wanted, I did:

git push

This actually pushed all the patches I had in my __"master"__ branch,
NOT the one I was currently on.

I'm now going to revert those commits as they weren't all ready for the
repo.

Sorry for the noise. hopefully others can avoid my mistake.

-- 

Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
geda-dev@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev