Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

set_dagshub_repo.sh 408 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
  1. echo -n "Username: "
  2. read DAGSHUB_USER
  3. echo -n "Repo name: "
  4. read DAGSHUB_REPO
  5. echo -n "Password: "
  6. read -s DAGSHUB_PASS
  7. dvc remote add origin "https://dagshub.com/$DAGSHUB_USER/$DAGSHUB_REPO.dvc" -f
  8. dvc remote default origin --local
  9. dvc remote modify origin --local user "$DAGSHUB_USER"
  10. dvc remote modify origin --local auth basic
  11. dvc remote modify origin --local password "$DAGSHUB_PASS"
  12. unset DAGSHUB_PASS
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...