While using git, we all have our code in our own repository, pushing to and pulling from a bare repository.
If I need parts of the newest code in a specific folder for later use by an automated script, what would be the best way to get the code from the personal repository to that specific folder? (Is there a "git way" of doing this?)
Thank you.
The solution to my problem: Not using a bare repository. I thought, that I have to use the bare repo to push etc. BUT...
As I learned, I can just create a normal repository with
git init
and after that execute the command:This opens the repository up AND the repository will be able store all our changes at one place. Now just add it as remote and et voilĂ .