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

How to download code for all lessons at once? #17

Open
kamran-12 opened this issue Oct 11, 2019 · 3 comments
Open

How to download code for all lessons at once? #17

kamran-12 opened this issue Oct 11, 2019 · 3 comments

Comments

@kamran-12
Copy link

No description provided.

@wylinelove
Copy link

如何一次下载所有课程的代码

@bikingbadger
Copy link

This will clone the repo and download all the remote branches

git clone  https://github.com/iamshaunjp/vuejs-playlist.git
cd vuejs-playlist
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
git checkout lesson-1

@CaroKershaw
Copy link

The command line code above works in Linux. To run this code on Windows you could install WSL 2 and use a WSL Ubuntu terminal in VSCode

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

4 participants