adding file about pushing an existing git repo onto a target (which should be blank
authorChris Koeritz <fred@gruntose.com>
Tue, 6 Sep 2016 21:27:33 +0000 (17:27 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 6 Sep 2016 21:27:33 +0000 (17:27 -0400)
still).

infobase/configuration/git/how_to_push_existing_git_repo_to_new_target.txt [new file with mode: 0644]

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
+
+
+