It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

jhinch 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
TAGS
Community showcase
Published in Continuous Delivery

Our Atlassian Partners continue to support their customers during coronavirus pandemic

Across the world, governments and healthcare authorities are demonstrating the power of collaboration to find solutions to the COVID-19 pandemic, to protect our communities, and to get things back to...

741 views 0 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you