From ddf2b7e9522870680d8ea592107498513ead4cce Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 13 Feb 2011 00:23:47 +0100 Subject: Add scripts localdebgitpush localdebgitreinit . --- localdebgitreinit | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 localdebgitreinit (limited to 'localdebgitreinit') diff --git a/localdebgitreinit b/localdebgitreinit new file mode 100755 index 0000000..e684710 --- /dev/null +++ b/localdebgitreinit @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +for pkg in "$@"; do + cd "$pkg" + git init + git remote rm origin || true + git remote add origin git.debian.org:/git/collab-maint/$pkg + git config branch.master.remote origin || true + git config branch.master.merge refs/heads/master + cd .. +done -- cgit v1.2.3