2 ms·
This should do it, assuming you're on development: git checkout -b tmp git commit -a -m "throwaway" git push wherever tmp #switch machines git checko
by klochner 16y ago
This should do it, assuming you're on development:
git checkout -b tmp
git commit -a -m "throwaway"
git push wherever tmp
#switch machines
git checkout development
git fetch wherever
git merge wherever/tmp --no-ff
git reset HEAD^
git push wherever :tmp
and you could automate that with a pair of scripts.