Changes

Jump to navigation Jump to search
22 bytes added ,  20:53, 5 June 2023
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>
 
       &ensp; - Ensure you're in the directory of interest (use <b>cd </b> command as needed) <br>
 
       &ensp; - Ensure you're in the directory of interest (use <b>cd </b> command as needed) <br>
 
       &ensp; - Type <b>find . -type f -size +50M </b><br>
 
       &ensp; - Type <b>find . -type f -size +50M </b><br>
Line 178: Line 178:  
       &ensp; - To create one use the command <b>touch .gitnore </b><br>
 
       &ensp; - To create one use the command <b>touch .gitnore </b><br>
 
       &ensp; &ensp; Make sure you are in the root folder of your repository on your local computer when you use this command <br>
 
       &ensp; &ensp; Make sure you are in the root folder of your repository on your local computer when you use this command <br>
       &ensp; &ensp; Hint - The root folder is named the same as your repository on GitHub </li><br>
+
       &ensp; &ensp; <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>
 
       &ensp; - Enter the oversized files from above into the girignore file<br>
 
       &ensp; - Enter the oversized files from above into the girignore file<br>
       &ensp; &ensp; Make sure to remove the . if you decide to copy/paste <br>
+
       &ensp; &ensp; 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>
  
581

edits

Navigation menu