[kwlug-disc] git remote add ...

Ronald Barnes ron at ronaldbarnes.ca
Sat May 14 19:19:17 EDT 2022


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






More information about the kwlug-disc mailing list