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 Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

220 views 0 12
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