You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often times when I want to use gitlab on sandstorm it's to share an existing project that I've kept private elsewhere with others. In this case I'd like to simply add a new sandstorm git remote instead of cloning a new repository. It'd be nice if there were copy/paste instructions in the gitlab interface when you're creating a new repository such that you can more easily achieve this.
As far as I can tell the first command would remain the same, but following that you'd need to change git remote add sandstorm $URL. Does git remote take the same -c flag to set credential.helper as the clone operation does?
You can run git config credential.helper store before or after adding the remote. This sets a local repository option that tells git to look in ~/.git-credentials for the stored password.
From @patrickod on April 25, 2016 22:30
Often times when I want to use gitlab on sandstorm it's to share an existing project that I've kept private elsewhere with others. In this case I'd like to simply add a new
sandstorm
git remote instead of cloning a new repository. It'd be nice if there were copy/paste instructions in the gitlab interface when you're creating a new repository such that you can more easily achieve this.As far as I can tell the first command would remain the same, but following that you'd need to change
git remote add sandstorm $URL
. Doesgit remote
take the same-c
flag to setcredential.helper
as the clone operation does?Copied from original issue: dwrensha/gitlab-sandstorm#15
The text was updated successfully, but these errors were encountered: