bitbucket - How can we push code to multiple repository's branch -
i have searched , found solution i.e from here , from here.
according given solution tried unable push code on both repository in single command.
steps did-
- i created 2 repos i.e testhcpollbook1 , testhcpollbook2
cloned both repository locally.
added urls of both repos given, in .git/config
i working on repo testhcpollbook1. added files try push code.
i using following commands-
- git add --all.
- git commit -m "some message"
- git push both
as run command. code pushed on repo on working, not able push on repository i.e "testhcpollbook2".
getting error-
i tried same code , commands second repo. getting same error repository.
someone please suggest missing , can do, can can work in repo "testhcpollbook1" , push code in both repo "testhcpollbook1" , "testhcpollbook2" in single command.
thanks advance.
Comments
Post a Comment