![]() ![]() If you are a listener or not taking 6.102 for credit, you can clone problem set repositories using a modified URL: after ps0, omit the dash-username. Make sure your repository is listed on Didit.Ĭheck that you can authenticate to in the last part of Getting Started step 7. If git clone says “does not appear to be a git repository” or “could not read from remote repository”, check your repository URL for typos. Keep the terminal window open - you will also use it to commit your code. The result should be a directory named ps0-«username» with the starting code for the problem set. «username».gitĬopy this entire command, paste it into your terminal, and run it. It is a long command that looks something like this: git clone. Note: Getting Started has setup you must perform before using Git.įind your git clone command at the top of your psets/ps0 page on Didit. You will access the remote repository over SSH from your laptop. ![]() If you are unfamiliar with using the command line, Basic Git introduces key commands like cd and mkdir. ![]() Open the terminal (Git Bash on Windows) and go to the directory (using cd) where you would like to store your code.įor example, that might be a directory named 6.102 in your home directory. See instructions below to clone from a read-only remote. If you are a listener or not taking 6.102 for credit, you can’t create a repo. If you can’t create a repo after the ps0 announcement, you are not registered for 6.102.Ĭontact the staff ( how?) to check your status. You will only be able to create a repo after the course signup forms are processed and the problem set is announced, which happens after the first class meeting. Go to psets/ps0 and click the button to create your repository. Create your remote repository with the starting code for the problem set by visiting /6.102/sp23. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |