Do I need to install GIT with Stash?

If I use Stash and installed in Windows, do I still need to install GIT? Is GIT included in Stash? How to connect Stash to my existing GIT repositories (out of Stash, existing before Stash)?

Thanks

Jirong

2 answers

0 votes

Yes, you need to install git. It'll read your existing repos fine.

After I create a repository (called stash) in Stash, it gives this link:http://localhost:7990/projects/STAS/repos/stash/browse

And this command: git clone http://admin@localhost:7990/scm/stas/stash.git

The above is a web URL. So where is the actually directory location of the above repository?

If Stash used my pre-installed GIT, how does Stash know where is my GIT? How are they connected?

Jirong


To your first subquestion - location of git repository in stash could be retrieved using Stash addon Repository System Info. Anyway, I would not operate on that internal repositories.

Stash uses git executable, not the existing repositories. You need to push their content to Stash repositories.

Jason Hinch Atlassian Team Mar 30, 2014

The Repository System Info plugin was deprecated in 2.7 and will not be supported in Stash 3.0 as the functionality is now included in Stash core. The location on disk is shown on the repository settings page to System Administrators only

0 votes

If you install git properly, it should end up in a place in your system path, so it'll be available to any program running in the standard environment

As for your repositorys, they will land <where you told Stash to store them>/project/*

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 01, 2018 in Summit

Summit 2019 is going to Las Vegas

You asked we answered - Summit 2019 registration is now open! Can you believe Atlassian Summit hasn’t been to the US since 2017? Now is the time to get ready for an event to remember! Our biggest u...

284 views 6 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