This question has already been answered:
The situation is such that I have a HOME server, with git and apache installed. The repository is stored on it and the hook is deployed to the web muzzle.
It is required to store its copy on bitbucket, github.
added to config
[remote "origin"] url = garmayev@server.dev:/var/git/*******.git fetch = +refs/heads/*:refs/remotes/origin/* [remote "bitbucket"] url = ssh://git@bitbucket.org/garmayev/*******.git fetch = +refs/heads/*:refs/remotes/origin/* Question: Is it possible to somehow automate push to two servers? Those. not to enter every time
git push origin
git push bitbucket
and enter once with git push and whiskers. At the moment, the last command of the rap will only push on origin.