We are looking to have a Git architecture like the following.
I have created two bare repositories for these.
- //production/repo/MyProject.git (prod-repo)
- //dev/repo/MyProject.git (dev-repo)
After pushing my code to the dev-repo and testing it, I want to push
all the changes to prod-repo. Obviously I won't have a working directory on either of these machines? How can I push
all the files in the dev-repo to prod-repo?