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

Cant download code with git cli #19

Open
Zugmaschine opened this issue Dec 17, 2020 · 4 comments
Open

Cant download code with git cli #19

Zugmaschine opened this issue Dec 17, 2020 · 4 comments

Comments

@Zugmaschine
Copy link

Zugmaschine commented Dec 17, 2020

Please help:
Iam not sure i make anything wrong, but this command

"gh repo clone Code-Pop/Intro-to-Vue-3/L5-end"

is not working, and this command

" gh repo clone Code-Pop/L5-end"

also not.
What i make wrong. Whitch command i have to use?
Or is it a error from the Repo?

@Daembius
Copy link

Daembius commented Sep 3, 2021

Please help:
Iam not sure i make anything wrong, but this command

"gh repo clone Code-Pop/Intro-to-Vue-3/L5-end"

is not working, and this command

" gh repo clone Code-Pop/L5-end"

also not.
What i make wrong. Whitch command i have to use?
Or is it a error from the Repo?

Hello Zugmaschine,

I am not sure about the gh syntax. I think you have to install to install "gh" first, no?

Here is what I did on Linux/Mac:

Let's say you want to clone the repo into a directory called "Vue3" on your computer.

mkdir Vue3
cd ~/Vue3
git clone https://github.com/Code-Pop/Intro-to-Vue-3.git

Then you can navigate between the different lessons.
cd ~/Vue3/Intro-to-Vue-3.git // this is the copy inside the directory you have created into your computer.
git branch --show-current // this tells you which branch you are.
git checkout --track origin/L5-start // for example, if you want to go to the beginning of the lesson 5
git checkout -b L5-try // I create a "try" branch to separate my own work, but I don't think it's necessary.
git checkout L5-end // When you want to check the solution.

I hope this will help you to clone this repo.

@Neba-Emmanuel
Copy link

git clone https://github.com/Code-Pop/Intro-to-Vue-3.git

Just run this command "git clone https://github.com/Code-Pop/Intro-to-Vue-3.git" (if you already have git installed in computer)
if you don't have git installed and you are running on a linnux as i am; just run this command to install git " sudo apt-get install git-all "

@Zugmaschine
Copy link
Author

Thank you. All was working at the end!

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
@Zugmaschine @Neba-Emmanuel @Daembius and others