Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other I need an efficient workflow Reply To: I need an efficient workflow

#158117
Alen
Participant

This is what I do.

  1. Scaffold my project.
  2. Initialize local Git repo / push copy to private GitHub
  3. Start working and perform continuous commits.
  4. When I’m working by myself on a project, I hardly ever create branches, only when I’m experimenting or if I’m adding some major feature that might break something else in my code.
  5. When project is done. I log into my production server via SSH and just do git clone, there are services that automatically sync your repo to your server with each push, but you have to host your repo in order to do this. You can also create CRON job that runs every so often as well. But for me logging into my server takes few minutes so not a big deal.

Email me [email protected] I’ll send you link to a video from my Google Drive account about Git Workflow.