From: Mathias Klette Date: Mon, 4 Jun 2012 13:01:51 +0000 (+0200) Subject: remove deleted remote tracking branches X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=fba6caa5265fa3c55987cabe5c4d0b3731bea464;p=profitbricks%2Fjenkins-build-scripts.git remove deleted remote tracking branches --- diff --git a/debian_build.py b/debian_build.py index 003d69a..481f40f 100755 --- a/debian_build.py +++ b/debian_build.py @@ -258,6 +258,10 @@ if __name__ == '__main__': logger.info('Reset and clean repository.') gitcmd = git.Git('.') + logger.debug( + 'git fetch origin --force --prune + %( gitcmd.fetch('--force','--prune').strip() ) + ) logger.debug( 'git reset --hard HEAD:\n%s' %(gitcmd.reset('--hard','HEAD').strip())