Python. Collecting information about git. Push updates to your website from bitbucket

If the project of your website is stored on bitbucket, after the updates, you will need to use the following command:

After your reposit can ask for a password, than you will have to give a path to your reposit and a password.

In case if you have some changes on your server but not on bitbucket and you don’t want to update it, than use the following command:

Further make the following command, it makes compilation of your changes.

And the last step is Apache restart. It will connect all of your changes an put them life

Now refresh your website and enjoy the changes. If you don’t see them, may be you have to delete cache or check them in a private browser.

One single command for uploading your updates from bitbucket

Leave a Reply

Your email address will not be published. Required fields are marked *