Can we clone from source tree to stash ?

I am new at source tree.. we can clone repository from stash but can we clone from source tree to stash or not ?

2 answers

I don't use stash myself, but the basic idea here is going to be as follows:

  1. Create an empty repository in Stash
  2. Add the empty Stash repository to your existing local repository as a new remote
  3. Push everything to your new remote


Stash is where you would store your remote repo, while SourceTree is a GUI frontend for the git command line, meaning it's where you manipulate your local repo.

Therefore, you can clone a repo from Stash to SourceTree - this really just means using SourceTree as the client with which you clone  a repo from Stash to your local computer.  Then you make changes locally and commit them.  Then you can use SourceTree to push  the new repos back to the remote repo.  You do not use the clone command to send data from the local computer to the remote.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

790 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