I have the same code deployed to multiple remotes (bitbucket and github) so I have to do this every time (which is fine):
git add .; git commit -m "msg"; git push origin master; git push github master;
But the real issue starts here.. First, bitbucket asks me for my token, I supply it, then github asks for both my username and token.. Is there an easier way to save these so I don't supply every time?
I prefer not to set a global git config email, I would rather use a fake email, but I'm OK with any solution, or additional software like a credential manager, or generating a common public key for all repos and somehow storing it and supplying automatically.
I also prefer a solution that doesn't require ssh
, but it's OK if it is the only way :)
Thanks!