how to edit file in stash?

I have created a project in stash and checked in code to git. How do I manage the code from Stash. When I am creating braches it does not allow me to edit the files. Where do I edit the files? Some help would be really helpful.




4 answers

You cannot edit the files directly from Stash, which is essentially a UI to manage your git repositories.  All edits are to be done in git.  



You edit the files on a local clone of the repository and then use git push to push them to Stash (or use SourceTree and use the "Push" button)

how to sync up stash and git? do you have any demo on how to work on these 2 tools hand-in-hand?

Stash is essentially just a place to store remote copies of your repositories.  It is a place to use to clone, pull, and push repositories to and from.  The syncing between git and stash is done mostly with those commands


git clone <stash_url> copies the repo to your local workstation

git push pushes new commits that exist locally back to the remote on Stash

git pull fetches any commits on Stash that don't exist locally and attempts to merge them


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

683 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