How do I configure automatic push in Mercurial and Git? Sometimes I forgot to push in a computer, and when I move my location, I\'m out of the sync with the good code. Is th
In mercurial you'd put this in your .hg/hgrc
.hg/hgrc
[hooks] commit = hg push