I have a repository, and all branches have the same common file.
I want to modify the file in the branch master and that when I give git push
, I want that modification to be raised in all the branches.
I tried git push --all origin
and it does not work.
I tried git config --add remote.origin.push 'refs/heads/*:refs/heads/*'
so that when push to remote origin, the same, but nothing. (as recommended here: link )
But it does not work, either.
Any indication on how to climb all the branches simultaneously?