We are looking at Stash and were wondering if our Git repositories are managed and / or on remote server, is it possible to integrate without altering remote Git server?
Thanks
Hi Matt,
How do you mean 'integrate' exactly?
Are you talking about hosting the Git repositories on an NFS mount? Stash keeps the Git directories at $STASH_HOME/data/repositories and that can be mounted elsewhere if required. It's important that Stash is the only one updating those repositories though.
Do you mean integrate with something like, say, Gitolite? Stash needs to host the repositories, and if you're pushing to the remote server then Stash won't be able to react to updates and our data will be effectively corrupted.
You can certainly create a read-only mirror of a repository and keep them in sync using standard Git push/pull, but it's very dangerous to have the same repository being modified independently in two places - you will eventually need to deal with merge conflicts.
This is similar to my answer here regarding TFS:
https://answers.atlassian.com/questions/246557/tfs-with-git-repository-and-stash-integration-is-it-possible
Cheers,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.