I am not quit sure how stash and git work together, I have installed GIT on the server and postgres and located the data folder for postgres on a separate partition. It is my understanding that the Stash home directory will need a separate partition as well, so here is where I am confused I was thinking I would still need another partition to create my GIT repos on. Is that correct? So if you are following me C:\ partition is installation, D: partition is data for Postgres, E: partition is for Stash Home directory and F: partition is for Repos?
I don't believe you need to create a separate partition for your Stash home directory. It can sit anywhere on your disk provided it is accessible to the Stash application. Your repositories will be created and managed by Stash in a subdirectory of your Stash home directory (under
STASH_HOME/shared/data/repositories to be precise).
Can I ask where you saw a reference asking to create separate partitions?
I am confused, do the git repos have to sit under the Stash Home dir? Am I never using git-bash to create and clone repos or am I just going thru stash to do that? Sorry I am having a hard time understanding how stash works with GIT as I am use to using git directly, although by no means am I an expert. https://confluence.atlassian.com/display/STASH/Stash+home+directory
Hi again Chad, Stash is a git server, and hosts your git repositories for you. It manages them on disk so you should never have to create them yourself or interact with them directly on disk. Instead you create repositories via the Stash web UI, and then push, pull and clone those repositories via Stash's HTTP or SSH front-ends. Cloning the repository from Stash creates your own local copy of the repository that you can interact with using git-bash or a tool like SourceTree (http://sourcetreeapp.com/). You can then modify this repository and push it back to Stash. If you're reasonably new to git, it might be worth reading through our workflow documentation (https://www.atlassian.com/git/tutorials/comparing-workflows/centralized-workflow) to get your head around how developers typically interact with git repositories. Hope this helps! cheers, Tim
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
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!
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