Hello there,
Is there any way to push a code into a Linode repo after it being pushed to bitbucket?
in other terms, when i push some code to a Bitbucket repo, i want that code automatically to be pushed into another repo located in a Linode server.
i appreciate if someone can help me
Hi,
the second push are another git server right?
if yes do:
add the second server to your git bitbucket with:
git remote add linode http://server_on_linode/path.git
and then
git push linode
to automate I think you should create a script where to put the push commands
git push origin ---> to push on bitbucket
git push linode ---> to push on linode
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.