Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git update gitignore remove files

git rm --cached `git ls-files -i -c --exclude-from=.gitignore`
Comment

remove gitignore files

git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached
git commit -am "Remove ignored files"


// answer from: thSoft
Comment

delete gitignore files

git rm -r --cached . 
git add .
git commit -am "Drop ignored files"
Comment

PREVIOUS NEXT
Code Example
Shell :: git change ssh key 
Shell :: phpcs standard xml 
Shell :: change username ubuntu 
Shell :: wsl zsh get ip 
Shell :: how to revert to last git commit 
Shell :: download sublime notepad ubuntu 
Shell :: how to revert a merge locally 
Shell :: git archive 
Shell :: unable to import wx 
Shell :: git lang 
Shell :: git discard all unpushed commits 
Shell :: git: create and remove git alias command 
Shell :: tail linux 
Shell :: remove docker machine 
Shell :: How to count number of files in each directory 
Shell :: how to start ssh agent service windows powershell 
Shell :: add user to docker group 
Shell :: ubunto give permission for a user 
Shell :: iptables remove docker rules 
Shell :: bash replace comma with newline 
Shell :: create user linux 
Shell :: command to change user default shell 
Shell :: install solana anchor 
Shell :: install redis windows 10 
Shell :: how to kill process 
Shell :: git track remote branch 
Shell :: install vlc in centos 8 
Shell :: how to set up git user 
Shell :: install composer 
Shell :: convert ppk to pem 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =