Fetching Remote Git Repo with Python: In a few lines of codes

In my old posts, I have always made rants about how cool and comfy Python is. Here’s a tiny code snippet that shows how I fetch remote Git repos with Python and the awesome GitPython library:



PS: Installing GitPython is just a breeze on *Nix with:



One thought on “Fetching Remote Git Repo with Python: In a few lines of codes

  1. Thx man, I’ve been looking forward for a good way to do that

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">