Git
For hosting see Gitolite and Gitlab.
Bisect
Simple, auto:
git bisect start BAD_COMMIT GOOD_COMMIT
git bisect run test_runner tests/
Reset Local Master Branch to State of Remote Master
git checkout master
git branch failmaster
git reset --hard origin/master
Explanation:
go to master branch
(optional) save it as „failmaster“ and go there (we need to go somewhere else than master for the next step)
reset to origin/master, ignoring all local changes
Push all branches from one remote to another
To push all branches present in the remote origin
to the new remote serv
:
source=origin
destination=serv
git push $destination +refs/remotes/$source/*:refs/heads/*