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
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 ...
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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot