<div dir="ltr">IIUC, your origin is your local git repo. So if you're pushing to github, you might need:<div><br></div><div>git push --set-upstream github master<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 14, 2022 at 7:24 PM Ronald Barnes <<a href="mailto:ron@ronaldbarnes.ca">ron@ronaldbarnes.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
If I "git remote add github git@github.com..." I have something that <br>
works exactly as I want, but git reports no changes to push to origin.<br>
<br>
<br>
Running "git remote set-url --add github git@github.com:..." gives me <br>
something unexpected:<br>
<br>
> uid1@rpi-1 [/var/www/html/test-git/d3]<br>
> └─» (git:master)$ git remote -v<br>
> github  git@github.com:RonaldBarnes/D3-graphs.git (fetch)<br>
> github  git@github.com:RonaldBarnes/D3-graphs.git (push)<br>
> github  git@github.com:RonaldBarnes/D3-graphs.git (push)<br>
> origin  10.60.42.69:~/git-repos/d3.git (fetch)<br>
> origin  10.60.42.69:~/git-repos/d3.git (push)<br>
<br>
Yet nothing to push to origin:<br>
<br>
> uid1@rpi-1 [/var/www/html/test-git/d3]<br>
> └─» (git:master)$ git status<br>
> On branch master<br>
> Your branch is up to date with 'origin/master'.<br>
> <br>
> nothing to commit, working tree clean<br>
<br>
<br>
<br>
_______________________________________________<br>
kwlug-disc mailing list<br>
<a href="mailto:kwlug-disc@kwlug.org" target="_blank">kwlug-disc@kwlug.org</a><br>
<a href="https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org" rel="noreferrer" target="_blank">https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org</a><br>
</blockquote></div>