Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wcdo git url switcher #5

Open
brettviren opened this issue May 9, 2019 · 0 comments
Open

wcdo git url switcher #5

brettviren opened this issue May 9, 2019 · 0 comments

Comments

@brettviren
Copy link
Member

excerpt from an email

The underlying git actions are the same as for GitHub but the
authentication with Redmine is a little different.

Similar to GitHub, FNAL Redmine has 2 git URLs:

 - https:// "read-only", no push allowed

 - ssh:// "read-write", push allowed

When you use "mrb" to clone some git repo it will first try the second
one and if that fails it will try the first one.  You can later switch
using "git remote set-url origin <newurl>".  In WCT we do this also
using the "switch-git-urls" script.  I should provide a wcdo-* function
to make this easier!

Two example URLs

ssh://[email protected]/cvs/projects/larwirecell
http://cdcvs.fnal.gov/projects/larwirecell

The little script in WCT https://github.com/WireCell/wire-cell-build/blob/master/switch-git-urls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant