What are some common mistakes when using git?
- Tracking reproducible non-text files.
- Committing to wrong branch.
- Leaving useless, and incomprehensible commit messages.
- Working on shared (development, master, etc) branches.
- Not rebasing your feature branches to development branch.
- Poorly handling conflicts.
- Tracking environment dependent files (Eg. conf.php).
- Not tracking" templates" of environment dependent files (Eg. conf.php.tmp).
- Tracking end-user-manipulated files and directories (Eg. "uploads" folder).
- Tracking "crap files" (Eg. "error.log", "thumbs.db").
- Forgetting to track needed but currently empty directories.