Can i commit files directly to the webserver and how do i do it?

Hi!
Wondering if i through Sourctree app and Bitbucket server could commit/push the files direct to the webserver without having to copy my build there?

1 answer

This is rather a question about git and the concept of git than on Sourcetree and Bitbucket Server.

Short Answer: No, you cannot.

The basic principle of git is to work on local repositories, where you commit to directly. As git is a distributed version control system, you can define remote repositories to synchronize your local repository with.

You might write a script or define a git alias to do both actions in one step - nevertheless you need a local repository

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

638 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot