-
-
Save kenyattaclark/1b911f9dde4d0f02705e952861adf76b to your computer and use it in GitHub Desktop.
Revisions
-
mariozig revised this gist
Mar 24, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ # Assume we are in your home directory cd ~/ # Clone the repo from GitLab using the `--mirror` option $ git clone --mirror [email protected]:mario/my-repo.git # Change into newly created repo directory $ cd ~/my-repo.git -
mariozig renamed this gist
Mar 24, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
mariozig renamed this gist
Mar 24, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
mariozig revised this gist
Mar 24, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,4 +15,4 @@ $ git remote set-url --push origin [email protected]:mario/my-repo.git # To periodically update the repo on GitHub with what you have in GitLab git fetch -p origin git push --no-verify --mirror -
mariozig revised this gist
Mar 24, 2015 . 1 changed file with 4 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,16 +4,15 @@ cd ~/ # Clone the repo from GitLab using the `--bare` option $ git clone --bare [email protected]:mario/my-repo.git # Change into newly created repo directory $ cd ~/my-repo.git # Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. $ git push --no-verify --mirror [email protected]:mario/my-repo.git # Set push URL to the mirror location $ git remote set-url --push origin [email protected]:mario/my-repo.git # To periodically update the repo on GitHub with what you have in GitLab git fetch -p origin git push --mirror -
mariozig revised this gist
Mar 24, 2015 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,12 +1,19 @@ # Assume we are in your home directory cd ~/ # Clone the repo from GitLab using the `--bare` option $ git clone --bare [email protected]:mario/my-repo.git # Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. $ git push --no-verify --mirror [email protected]:mario/my-repo.git # Change into newly created repo directory $ cd ~/my-repo.git # Set push URL to the mirror location $ git remote set-url --push origin [email protected]:mario/my-repo.git # Periodically update the repo on GitHub $ cd ~/my-repo.git git fetch -p origin git push --mirror -
mariozig revised this gist
Mar 24, 2015 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,3 +4,9 @@ $ git clone --bare [email protected]:mario/my-repo.git # Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. $ git push --no-verify --mirror [email protected]:mario/my-repo.git # Change into newly created repo directory $ cd my-repo.git # Set push URL to the mirror location $ git remote set-url --push origin [email protected]:mario/my-repo.git -
mariozig revised this gist
Mar 23, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # Clone the repo from GitLab using the `--bare` option $ git clone --bare [email protected]:mario/my-repo.git # Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. $ git push --no-verify --mirror [email protected]:mario/my-repo.git -
mariozig created this gist
Mar 23, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # Clone the repo from GitLab using the `--bare` option $ git clone --bare [email protected]:mario/my-repo.git # Push to GitHub using the `--mirror` option $ git push --mirror [email protected]:mario/my-repo.git