![]() gitignore file to test a commit - a function which save changes in your repo. Rproj file disappears from your Git window, replaced by. gitignore file (in my case it would be test-repo.Rproj). gitignore and then type name-of-your-repo.Rproj at the end of the. Before you place your code in the folder you have just created, I suggest you to add the. This is a place where you will provide with a description of your code/repository. ![]() At the moment there are only the ones created automatically by github.Ī content of the README.md file. You can see that the repository is private (so no one can see it).Ī brief description of your repository (the one you provided with in the previous step).Ī list of the files in your repository. Your repository is now alive and you can revise it. Finally, you can select a licence under which your code will be distributed. ![]() gitignore file contains a list of the files which will be ignored by the git, which means they will not be committed (saved) nor push to the remote repository, so they will not be stored on github. gitignore (select R from a drop-down menu). Then, opt for Initialize this repository with a README (a README file is the one everyone sees when viewing your repo). ![]() Would you like someone to check your code (and/or repo) before it goes public? No problem either - you can add collaborators, even if you are using a GitHub Free version (in that case, you can add up to 3 collaborators in private repos). You will make it public, simply by changing the option in the settings of your repo. Still not sure about the result and prefer to keep it private until you confirm everything is correct? No problem, you can opt for a private repository. Now, you need to name your repo (here: test-repo) and you are free to add a brief description.
0 Comments
Leave a Reply. |