From 6565e1020d57e368464e8b24ba298b0a22a93c31 Mon Sep 17 00:00:00 2001 From: usernamealreadyis Date: Tue, 29 Dec 2015 23:03:53 +0700 Subject: [PATCH] clone.git $ ~npm init [-f|--force|-y|--yes] --- clone.git | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 clone.git diff --git a/clone.git b/clone.git new file mode 100644 index 0000000000000..ab1b40bb25219 --- /dev/null +++ b/clone.git @@ -0,0 +1,10 @@ +$ git clone --bare https://github.com/angular/angular.git +# Make a bare clone of the repository + +$ cd old-repository.git +$ git push --mirror https://github.com/usernamealreadyis/commands.git +# Mirror-push to the new repository + +$ cd .. +$ rm -rf old-repository.git +# Remove our temporary local repository