GIT – How to remove node_modules

Create a .gitignore file in the git repository if it does not contain one
touch .gitignore

Open up the .gitignore and add the following line to the file
**/node_modules

Remove the node_modules folder from the git repository
git rm -r –cached node_modules

Commit the git repository without the node modules folder
git commit -m “Removed node_module folder”

Push the repository to github
git push origin master

After all of that, you should also add the gitignore and commit it to the repository

git add .gitignore

git commit -m “Updated the .gitignore file

git push origin master

https://gist.github.com/lmcneel/45594e550a3403d589bdcaad38138a83

.gitignore problem Remember, the .gitignore file ignores only files that are not tracked.

Remember, the .gitignore file ignores only files that are not tracked.
Remember, the .gitignore file ignores only files that are not tracked.
Remember, the .gitignore file ignores only files that are not tracked.
Remember, the .gitignore file ignores only files that are not tracked.
Remember, the .gitignore file ignores only files that are not tracked.

.gitignore not working: https://blogs.microsoft.co.il/leonj/2017/07/03/gitignore-not-working/

Perl info

,

Perl Cheat Sheet
Perl stands for “Practical Extraction and Reporting Language” and is a high-level, general-purpose, interpreted, dynamic programming language developed by Larry Wall in 1987.

It was originally designed for text manipulation. But now, it is used for a wide range of tasks, including system administration, web development, network programming, GUI development, and more.

This Perl cheat sheet will provide basic and advanced management and syntax of the Perl programming language.

https://www.pcwdld.com/perl-cheat-sheet

Making git bisect more useful

If you’ve ever used git bisect, you know what an incredibly useful tool this is. It allows you to do a binary search through commits to find out which commit caused a particular error.

http://blogs.perl.org/users/ovid/2014/07/making-git-bisect-more-useful.html