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 vote

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 vote

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
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
Jodi LeBlanc
Posted Thursday in Off-topic

Friday Fun: How do you recharge your batteries after a busy week?

Happy Friday – Fun Day! I don’t know about you, but I have been giving everything I’ve got this week (and most weeks) and come Friday I look for unique ways to recharge my batteries - rest, relax, a...

226 views 21 4
Join discussion

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