Simple automated GIT Deployment using GIT Hooks
Please ref the github gist.
- non-ssh standard port for server git ,use ssh://[email protected]:port/xx/xx.git
- I fail using the git remote add production [email protected]:project.git, change to use origin not production in local git config.
- 'git-remote-fatal-you-are-on-a-branch-yet-to-be-born" error lead me to reset all ,then use the origin .
- For some blog,we can use Zeit Now etc.
A small favor
Was anything I wrote confusing, outdated, or incorrect? Please let me know! Just write a few words below and I'll be sure to amend this post with your suggestions.
If you want to know about new posts, add your email below. Alternatively, you can subscribe with RSS.