title: Jenkins: How to publish artifacts to a git repository?
body: <p>I'd like to set up a Jenkins project that takes its input from one GIT repository, compiles stuff, and then stores / publishes the generated files to a [ideally different] GIT repository. </p>
  
  <p>The "Git Publisher" post-build action doesn't seem to be able to do that, it only seems to be able to create tags/branches from the files I got from the repository. What I want to do is, I want to take the binaries that I created, add/modify them in a git repository, commit them, and push them. Ideally the results should end up in a different repository from the source code repository, but whatever is easiest, I'll take. </p>
  
  <p>As far as I can see, my only option seems to be to write a custom script that does all the work using the git command line, i.e. git clone / copy / git add|stage / git commit / git push. </p>
  
  <p>Any ideas?!</p>