I'm trying to get a git repository from a production server.
- The code was deployed using OpenShift.
- The latest commit in production does not appear in the repository that I have.
- It was deployed by the previous person who worked on the project. This person doesn't know where the code came from.
I was able to find:
- The code under
/var/lib/openshort/.../app-deployments/current/repo
. - The latest commit using
git log
under/var/lib/openshift/.../git/my_proj.git
(checkout the OpenShift Filesystem overview)
How can I git push
the code from production into my git repository?