Skip to content

Instantly share code, notes, and snippets.

@akirap3
Last active February 18, 2021 05:50
Show Gist options
  • Save akirap3/6b5b4bfc34c8b2413f190d5546522bfe to your computer and use it in GitHub Desktop.
Save akirap3/6b5b4bfc34c8b2413f190d5546522bfe to your computer and use it in GitHub Desktop.
PeterFan@DESKTOP-CVDK4VF MINGW64 ~/Desktop/freecodecamp/Freecodecamp_Front_End_Libraries (master)
$ git rm --cached ./.ipynb_checkpoints
fatal: not removing './.ipynb_checkpoints' recursively without -r

PeterFan@DESKTOP-CVDK4VF MINGW64 ~/Desktop/freecodecamp/Freecodecamp_Front_End_Libraries (master)
$ git rm -r --cached ./.ipynb_checkpoints
rm '.ipynb_checkpoints/01_FrontEndLibraries_Bootstrap-checkpoint.ipynb'
rm '.ipynb_checkpoints/02_FrontEndLibraries_jQuery-checkpoint.ipynb'
rm '.ipynb_checkpoints/03_FrontEndLibraries_Sass-checkpoint.ipynb'
rm '.ipynb_checkpoints/04_FrontEndLibraries_React-checkpoint.ipynb'
rm '.ipynb_checkpoints/05_FrontEndLibraries_Redux-checkpoint.ipynb'
rm '.ipynb_checkpoints/06_FrontEndLibraries_ReactAndRedux-checkpoint.ipynb'

PeterFan@DESKTOP-CVDK4VF MINGW64 ~/Desktop/freecodecamp/Freecodecamp_Front_End_Libraries (master)
$ vim .gitignore

PeterFan@DESKTOP-CVDK4VF MINGW64 ~/Desktop/freecodecamp/Freecodecamp_Front_End_Libraries (master)
$ git add .
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory

PeterFan@DESKTOP-CVDK4VF MINGW64 ~/Desktop/freecodecamp/Freecodecamp_Front_End_Libraries (master)
$ git commit -m "change .gitignore rules"
[master 706c10c] change .gitignore rules
 7 files changed, 1 insertion(+), 8813 deletions(-)
 delete mode 100644 .ipynb_checkpoints/01_FrontEndLibraries_Bootstrap-checkpoint.ipynb
 delete mode 100644 .ipynb_checkpoints/02_FrontEndLibraries_jQuery-checkpoint.ipynb
 delete mode 100644 .ipynb_checkpoints/03_FrontEndLibraries_Sass-checkpoint.ipynb
 delete mode 100644 .ipynb_checkpoints/04_FrontEndLibraries_React-checkpoint.ipynb
 delete mode 100644 .ipynb_checkpoints/05_FrontEndLibraries_Redux-checkpoint.ipynb
 delete mode 100644 .ipynb_checkpoints/06_FrontEndLibraries_ReactAndRedux-checkpoint.ipynb

PeterFan@DESKTOP-CVDK4VF MINGW64 ~/Desktop/freecodecamp/Freecodecamp_Front_End_Libraries (master)
$ git push origin master
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 12 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 295 bytes | 295.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To https://github.com/akirap3/Freecodecamp_Front_End_Libraries.git
   a21de46..706c10c  master -> master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment