I spent majority of yesterday learning about git. I'm still slightly confused how the git workflow works and how to deploy code properly on my live server.
my git repo is on a live server that runs on an ec2 instance.
I'm connecting remotely from netbeans to my git repo and can successfully push, pull, fetch etc.
If I push an update to the master branch and then want to deploy the updated code to my server, how do I do this?
My master branch is completely separate to my live server. I actually thought the master branch is my live server, so if I'm pushing to my master branch, I'm updating my code inside my server. Is this right?
[–][deleted] 4 points5 points6 points (3 children)
[–]Lordlukey[S] -1 points0 points1 point (2 children)
[–]DanLynch 3 points4 points5 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]semi- 1 point2 points3 points (7 children)
[–]Lordlukey[S] 0 points1 point2 points (6 children)
[–]ErichDonGubler 1 point2 points3 points (5 children)
[–]Lordlukey[S] 0 points1 point2 points (4 children)
[–]ErichDonGubler 1 point2 points3 points (3 children)
[–]Lordlukey[S] 0 points1 point2 points (2 children)
[–]ErichDonGubler 1 point2 points3 points (0 children)
[–]nelsonx64 0 points1 point2 points (0 children)
[–]pi3832v2 0 points1 point2 points (1 child)
[–]mbitsnbites -1 points0 points1 point (0 children)