If I do git fetch from repo A
to B
, the master branch in B
doesn't change - changes only remotes/origin/master
, and git status
reminds me of it.
But now I want to do the opposite - update B
from A
, something like pushing from A:master
to B:remotes/origin/master
. The reason for this is that this update happens over ssh, and A
machine has public-key auth to B
machine - but not vice versa.
How can I do this?