From 1a0588e412d1e1b6711d2f02e3dc0af8275971ff Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 6 Sep 2016 17:27:33 -0400 Subject: [PATCH] adding file about pushing an existing git repo onto a target (which should be blank still). --- ...ow_to_push_existing_git_repo_to_new_target.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 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 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 + + + -- 2.34.1