[kwlug-disc] git remote add ...

Raymond Chen raymondchen625 at gmail.com
Sat May 14 19:33:52 EDT 2022


IIUC, your origin is your local git repo. So if you're pushing to github,
you might need:

git push --set-upstream github master

On Sat, May 14, 2022 at 7:24 PM Ronald Barnes <ron at ronaldbarnes.ca> wrote:

>
> If I "git remote add github git at github.com..." I have something that
> works exactly as I want, but git reports no changes to push to origin.
>
>
> Running "git remote set-url --add github git at github.com:..." gives me
> something unexpected:
>
> > uid1 at rpi-1 [/var/www/html/test-git/d3]
> > └─» (git:master)$ git remote -v
> > github  git at github.com:RonaldBarnes/D3-graphs.git (fetch)
> > github  git at github.com:RonaldBarnes/D3-graphs.git (push)
> > github  git at github.com:RonaldBarnes/D3-graphs.git (push)
> > origin  10.60.42.69:~/git-repos/d3.git (fetch)
> > origin  10.60.42.69:~/git-repos/d3.git (push)
>
> Yet nothing to push to origin:
>
> > uid1 at rpi-1 [/var/www/html/test-git/d3]
> > └─» (git:master)$ git status
> > On branch master
> > Your branch is up to date with 'origin/master'.
> >
> > nothing to commit, working tree clean
>
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20220514/692afb08/attachment.htm>


More information about the kwlug-disc mailing list