clone: creates a new repo by copying another one. works locally, over ssh, https. This is how you get stuff from github onto your local computer. – @traq
I know you’ve mentioned this before but I wasn’t aware this could be done to the server rather than locally.
Or you could use hooks to tell git to do this automatically, as we were discussing earlier.
Right. I know the very basics of SSH (logging in, starting/stopping/restarting apache/mysql, checking statuses and changing directories) and that’s it. Therefore, I just want my server to watch my repo and if there are changes, upload those changes to the server. I’m not sure what all that entails, whether I have install stuff just to give it a basic command to do this.