- how to start a repo from scratch?
git initlocal method- on GitHub
git cloneand eithergit push --forceorgit pullmethods
- how to revert mistakes?
git revertvs. …git resetvs. …git reset --hard
- how to go to a specific point in history?
git checkout SHA⟶DETACHED HEADproblem- interaction with branches
git gui: building commits along the way interactively (for the mess around type of workflows)
- remotes:
pull,push,fetch,merge - GitHub: forks, branches and PRs
- strategies for keeping your fork up-to-date:
rebaseormerge - a more thorough and deailed explanation can be found on the Numpy Contributor's Guide. This guide can be adapted to your own needs, see gitwash.