Bonus: Redeployment Script

Redeployment Script

Below you will find a script that can be run inside of the react-tic-tac-toe project.

The script accomplishes a few things:

  1. Compares the local and remote branch to one another
  2. Appends a message to a deploy
  3. Rebuilds the project if there are changes that were merged

This is not a common way to redeploy projects nor rebuild them. This is meant to serve as a fun way to manipulate the .git directory within any given project.

Click Here for Script