I have a small app that I'm running on EC2, and I want to make changes locally and then push to EC2 to deploy those changes.
Some people suggest doing a bare repo on the remote and then pushing to that. But that doesn't accomplish what I want because the bare repo doesn't actually have the project files in the directory tree.
I got it working by cloning the bare repo elsewhere on the EC2 instance, but this is clunky and not great for a workflow when I'm making changes on my local machine.
Is git just not designed for this type of usage? I'm considering removing git entirely and instead just ftp'ing files to the instance when I change them.