adding file about pushing an existing git repo onto a target (which should be blank
[feisty_meow.git] / infobase / configuration / git / how_to_push_existing_git_repo_to_new_target.txt
diff --git a/infobase/configuration/git/how_to_push_existing_git_repo_to_new_target.txt b/infobase/configuration/git/how_to_push_existing_git_repo_to_new_target.txt
new file mode 100644 (file)
index 0000000..ea1d488
--- /dev/null
@@ -0,0 +1,15 @@
+
+
+# add a new remote target for the repository.  this assumes you're in the
+# feisty meow folder to start with.
+git remote add github https://github.com/fredhamster/feisty_meow.git
+
+# check that the new repo is listed as a remote, plus the original origins are
+# still listed.
+git remote -v
+
+# stuff the repository contents up to the target.
+git push github master
+
+
+