git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Trying to push from my local dir to the Github repo

From
Bbruce <badouglas@gmail.com>
Date
Jul 21, 2020, 18:27 UTC
Message-ID
<CAP16ngo5FRjhz2DwwcMunm4KfjQQDUe-hiigRk_oc1ugwe2xew@mail.gmail.com>
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
Next: Bryan Turner
Message 1 of 2 in “Trying to push from my local dir to the Github repo”
  1. bruceJul 21, 2020
  2. Bryan TurnerJul 21, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.