Skip to content

Instantly share code, notes, and snippets.

@bart0sh
Created August 11, 2015 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bart0sh/baa69ee1a5edddded975 to your computer and use it in GitHub Desktop.
Save bart0sh/baa69ee1a5edddded975 to your computer and use it in GitHub Desktop.
@@ -46,6 +46,7 @@ class Command(BaseCommand):
# we detect the remote name at runtime
import subprocess
(remote, remote_name) = address.split(":", 1)
+ print 'debug:', filepath
cmd = subprocess.Popen("git remote -v", shell=True, cwd = os.path.dirname(filepath), stdout=subprocess.PIPE, stderr = subprocess.PIPE)
(out,err) = cmd.communicate()
if cmd.returncode != 0:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment