Skip to content

Instantly share code, notes, and snippets.

Julio Argüello julioarguello

  • Julio Argüello
  • Getxo
Block or report user

Report or block julioarguello

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@julioarguello
julioarguello / 2repos-sync.sh
Created Dec 5, 2016 — forked from yorammi/2repos-sync.sh
Sync 2 remote repositories script - Just define the 3 variables (use export command for that!)
View 2repos-sync.sh
#!/bin/bash
# REPO_NAME=<repo>.git
# ORIGIN_URL=git@<host>:<project>/$REPO_NAME
# REPO1_URL=git@<host>:<project>/$REPO_NAME
rm -rf $REPO_NAME
git clone --bare $ORIGIN_URL
if [ "$?" != "0" ]; then
echo "ERROR: failed clone of $ORIGIN_URL"
You can’t perform that action at this time.