Git

Workflow

  • A branch must do one useful thing

  • Every commit must be independent

    • Every commit must include its own tests

    • Every commit must pass all tests

  • Draft commits are fine

  • It's okay to discard commits completely

Renaming (casesensitive)

git mv Foobar temp
git mv temp FooBar

git mv foo.php Foo.php

Last updated