So I am trying to sync to github branches to two parts of my website, theoretically the master branch in my github should be synced with my website tinyweatherstation.com and th
Fetch all repository:
$ git remote add live_beta ssh://wesley@tinyweatherstation.com/var/www/tinyweatherstation.com.git
$ git fetch --all
Create and checkout to beta
branch with remote's beta
branch history ( make sure no local beta
branch exists):
$ git checkout beta
Push to live_beta
repo's beta
branch:
$ git push live_beta beta