mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-27 22:22:53 +00:00
11 lines
233 B
Plaintext
11 lines
233 B
Plaintext
|
#/bin/bash
|
||
|
ORG=$1
|
||
|
REPO=$2
|
||
|
REPOSITORY="$1/$2"
|
||
|
BRANCH=master
|
||
|
git checkout --orphan $REPO
|
||
|
git remote add -f $REPO git@github.com:$ORG/$REPO.git
|
||
|
git reset --hard $REPO/$BRANCH
|
||
|
git remote rm $REPO
|
||
|
git push origin $REPO
|
||
|
git checkout master
|