mirror of
https://github.com/captn3m0/Scripts.git
synced 2024-09-28 16:22:49 +00:00
11 lines
233 B
Plaintext
Executable File
11 lines
233 B
Plaintext
Executable File
#/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 |