Ignoring directories in Git repositories on Windows
Create a file named .gitignore in your project’s directory. Ignore directories by entering the directory name into the file (with a slash appended): dir_to_ignore/ More information is here.
Create a file named .gitignore in your project’s directory. Ignore directories by entering the directory name into the file (with a slash appended): dir_to_ignore/ More information is here.
Temporary solution Just enter this in your git shell on windows – > alias python=’winpty python.exe’, that is all and you are going to have alias to the python executable. This alias will be valid for the duration of the shell session. winpty is a Windows software package providing an interface similar to a Unix … Read more
Remove directory from git and local You could checkout ‘master’ with both directories; git rm -r one-of-the-directories // This deletes from filesystem git commit . -m “Remove duplicated directory” git push origin <your-git-branch> (typically ‘master’, but not always) Remove directory from git but NOT local As mentioned in the comments, what you usually want to … Read more
Update Oct. 2021: issue 384 describes again the problem: During the host provider auto-detection when GCM makes a HTTP call to the remote, this can sometimes hang until a long timeout period has elapsed. This now has been fixed with PR 481 “Speed up host provider auto-detection and make more robust” (see commit 1f926e4) Update … Read more
The specific command you ran only works on linux because: sudo is a linux command (or *nix command in general) apt-get is a linux command (specifically ubuntu/debian command) install is a argument to apt-get command npm is a package So the line: sudo apt-get install npm means: Hey package-manager(apt-get), install the package (npm) and do … Read more