From: Chris Koeritz Date: Tue, 6 Sep 2016 21:27:33 +0000 (-0400) Subject: adding file about pushing an existing git repo onto a target (which should be blank X-Git-Tag: 2.140.90~474 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=1a0588e412d1e1b6711d2f02e3dc0af8275971ff;p=feisty_meow.git adding file about pushing an existing git repo onto a target (which should be blank still). --- 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 index 00000000..ea1d4889 --- /dev/null +++ b/infobase/configuration/git/how_to_push_existing_git_repo_to_new_target.txt @@ -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 + + +