Line 170: |
Line 170: |
| There are various reasons to not want to track/push files. The following situation helps when you're having trouble pushing files due to them being too big (>50 MB, GitHub max) . | | There are various reasons to not want to track/push files. The following situation helps when you're having trouble pushing files due to them being too big (>50 MB, GitHub max) . |
| <ol> | | <ol> |
− | <li><u>Find those files</u>: <br> | + | <li><u>Find those problem files</u>: <br> |
|   - Ensure you're in the directory of interest (use <b>cd </b> command as needed) <br> | |   - Ensure you're in the directory of interest (use <b>cd </b> command as needed) <br> |
|   - Type <b>find . -type f -size +50M </b><br> | |   - Type <b>find . -type f -size +50M </b><br> |
Line 178: |
Line 178: |
|   - To create one use the command <b>touch .gitnore </b><br> | |   - To create one use the command <b>touch .gitnore </b><br> |
|     Make sure you are in the root folder of your repository on your local computer when you use this command <br> | |     Make sure you are in the root folder of your repository on your local computer when you use this command <br> |
− |     Hint - The root folder is named the same as your repository on GitHub </li><br> | + |     <u>Hint</u> - The root folder is named the same as your repository on GitHub </li><br> |
| | | |
| <li><u>Use your favorite text editor to open the file (i.e. Vim, Notepad++, etc.)</u>: <br> | | <li><u>Use your favorite text editor to open the file (i.e. Vim, Notepad++, etc.)</u>: <br> |
|   - Enter the oversized files from above into the girignore file<br> | |   - Enter the oversized files from above into the girignore file<br> |
− |     Make sure to remove the . if you decide to copy/paste <br> | + |     Make sure to remove the <b>.</b> if you decide to copy/paste <br> |
| <i><u>Example</u>:</i></li> | | <i><u>Example</u>:</i></li> |
| | | |