One of the first things you should do when creating a git repository is make a '.gitignore' file. In this file, you should list all files and directories that you do no want git to track. One reason might be that you are keeping track of your git repository on a version control platform such as GitHub, which has file size limits. Another reason might be that you want to keep certain data private. For example, it is general practice to not include /data and /figures directories in GitHub repositories when the code/pipeline to create those data and/or figures is available (hint hint)
Your task is to do the following:
- create a .gitignore file
- as you work through the tasks, add files and/or directories to the .gitignore that you do not want to track
One of the first things you should do when creating a git repository is make a '.gitignore' file. In this file, you should list all files and directories that you do no want git to track. One reason might be that you are keeping track of your git repository on a version control platform such as GitHub, which has file size limits. Another reason might be that you want to keep certain data private. For example, it is general practice to not include /data and /figures directories in GitHub repositories when the code/pipeline to create those data and/or figures is available (hint hint)
Your task is to do the following: