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

This widget could not be displayed.

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

 

This widget could not be displayed.

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
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

878 views 2 3
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