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.

 

Thanks,

Subhechha

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)

http://git-scm.com/docs/git-push

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 Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

418 views 5 9
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