Important: development takes place on the
source
branch and only the built site files are pushed tomaster
.
TBD
- Check if you are on the
source
branch,git branch
- If you are not on
source
--- and
source
is not listed,git checkout --track origin/source
- and
source
is listed,git checkout source
- and
- Make changes
- Rebuild site,
jekyll build
- Add changed files,
git add --all
- Commit changes,
commit -m "[briefly describe your changes]"
- Push changes back to the remote
source
,git push
- Push site subdirectory to
master
branch,git subtree push --prefix _site/ origin master