git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Trying to push from my local dir to the Github repo
@ 2020-07-21 18:27 bruce
  2020-07-21 20:10 ` Bryan Turner
  0 siblings, 1 reply; 2+ messages in thread
From: bruce @ 2020-07-21 18:27 UTC (permalink / raw)
  To: git

Hi.

As a test, I cloned a repo to my local machine.

I then made a few changes to files.

I'm now trying to push the files/repo to the new Github repo

It appears I'm missing something. No matter what I'm doing, the new
repo in Github, is populated with the files from the initial/cloned
repo.

The steps I've used

mkdir foo
cd foo
git clone http:/github.com/foo/cat.git

git remote rename origin upstream
git remote add origin https://github.com/numinds/testapp.git
git remote -v
master    https://github.com/numinds/testapp.git (fetch)
master    https://github.com/numinds/testapp.git (push)
origin    https://github.com/numinds/testapp.git (fetch)
origin    https://github.com/numinds/testapp.git (push)
remote    https://github.com/numinds/testapp.git (fetch)
remote    https://github.com/numinds/testapp.git (push)
upstream    https://github.com/numinds/testapp.git (fetch)
upstream    https://github.com/numinds/testapp.git (push)

git push origin master
Username for 'https://github.com': numinds
Password for 'https://numinds@github.com':
Enumerating objects: 3050, done.
Counting objects: 100% (3050/3050), done.
Compressing objects: 100% (2816/2816), done.
Writing objects: 100% (3050/3050), 6.01 MiB | 15.23 MiB/s, done.
Total 3050 (delta 120), reused 3050 (delta 120)
remote: Resolving deltas: 100% (120/120), done.

To https://github.com/numinds/testapp.git

 * [new branch]      master -> master

Obviously, I'm missing something in the process.

Any pointers/Comments would be welcome.

thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-21 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21 18:27 Trying to push from my local dir to the Github repo bruce
2020-07-21 20:10 ` Bryan Turner

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).