Git Hostpital
(hos-git-al?)
The story so far...
Overview
git branch ( master || develop )
branch should correspond to the state of the code
.gitignore
Use this to ignore files that are generated locally
caching
compilation
content
( the three c's )
--assume-unchanged
git update-index --assume-unchanged path/to/file.json
use this to ignore changes specific to your environment
if you want to track that there is a file, but not any future changes to it
- config
( the one c )
Git Issues
(GIT-SSUES?)
ga .
commits should be little and often
they should be short actions
commit messages should be a short message
should not use the word 'and'
git checkout develop
develop is not "where all work is done"
git-merge
chown || chmod
git supports two permission sets
755 ( rxx )
644 ( wrr )
neither are group / global writable
Git Flow
Made with Slides.com