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.

    enter image description here

  • added urls of both repos given, in .git/config

enter image description here

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-

enter image description here

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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -