Is there a way to have two machines, let's say A and B.
- A is my local machine, where I develop my code, and push it.
- B is a server, that will NEVER have to edit code, but NEEDS a working directory.
Is it possible to do this without doing any git pull
's whatsoever from B?
I want to use git one way only, basically. In one direction. Sort of like using rsync
to sync a local directory to a remote one, but with version control. If this isn't possible with git, is it possible with anything else?
Again, preferably with version control.