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

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

1,753 views 1 5
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