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

This widget could not be displayed.

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.  

 

 

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,328 views 8 11
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