저장소 복제하기
이 레슨은 아직 번역되지 않아 영어로 표시됩니다.
Draft: this lesson is an outline and will be expanded.
To work on a project you first need a copy of it on your computer. Making that copy is called cloning. The copy includes the files and the whole history, and it stays connected to the original on GitHub. In this lesson you will create a practice repository on GitHub and clone it with GitHub Desktop. At the end you will have a project folder on your computer that you can open and change.
What you will do
- On the GitHub website, create a new repository for practice. Give it a clear name such as
practice-notes, choose private, and let GitHub add a short description file, called a README, so the repository is not empty. - Open GitHub Desktop and choose the option to clone a repository from the internet. Pick your new repository from the list.
- Choose a folder on your computer to hold the project. Pick a place you will remember, such as a folder named
projectsin your documents, and avoid folders that your cloud storage syncs, because syncing can interfere with the history. - Wait for the clone to finish, then use the app to open the folder in your file manager. You should see the README file.
- Ask your AI helper: “Explain what is in this project folder.” Give it the file list, and notice that there is a hidden folder that stores the history. Do not edit or delete it.
Safety note: the history lives in that hidden folder. If you delete it, the folder stops being a repository.
Check yourself
- Your practice repository exists on GitHub and on your computer.
- You can find the README in your file manager.
- GitHub Desktop shows the repository as the current one.