[redeclipse] 201/494: remove file:// adresses in git workflow
Martin Werner
arand-guest at moszumanska.debian.org
Sun Jun 21 20:52:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
arand-guest pushed a commit to branch debdir
in repository redeclipse.
commit 43e4c0e6cb561855fe2884c4341c40852f649af1
Author: Arand Nash <ienorand at gmail.com>
Date: Thu May 26 18:20:09 2011 +0100
remove file:// adresses in git workflow
---
05_git_workflow | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/05_git_workflow b/05_git_workflow
index 7e500c8..9d4825a 100644
--- a/05_git_workflow
+++ b/05_git_workflow
@@ -51,7 +51,7 @@ export REPO_DIR="$HOME/utv/repository"
mkdir "$BACKUP_DIR"
cd "$BACKUP_DIR"
git init --bare
-git clone --mirror file://"$REPO_DIR"
+git clone --mirror "$REPO_DIR"
cd "$REPO_DIR"
git remote add --mirror seagate "$BACKUP_DIR"
git push seagate
@@ -62,12 +62,12 @@ git push seagate
export BACKUP_DIR="/media/seagate/utv/backup-git"
export REPO_DIR="$HOME/utv/repository"
-git clone file://"$BACKUP_DIR" "$REPO_DIR"
+git clone "$BACKUP_DIR" "$REPO_DIR"
cd "$REPO_DIR"
for i in $(git branch -a | grep origin); do git checkout -b $(echo "$i" | sed 's#.*origin\/\(.*\)#\1#') "$i"; done
# Alternatively
-git clone --mirror file://"$BACKUP_DIR" "$REPO_DIR"/.git
+git clone --mirror "$BACKUP_DIR" "$REPO_DIR"/.git
cd "$REPO_DIR"
git config --bool core.bare false # (2)
git checkout master
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/redeclipse.git
More information about the Pkg-games-commits
mailing list