Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove all files from gitignore

git ls-files -i --exclude-from=.gitignore | %{git rm --cached $_}

// works with windows powershell
Comment

git remove all files in gitignore

git ls-files -i -z --exclude-from=.gitignore | xargs -0 git rm --cached
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

PREVIOUS NEXT
Code Example
Shell :: linux index.html datei auflistung alle dateien 
Shell :: git change upstream url 
Shell :: terminal run the last x commands 
Shell :: bash script help syntax option vs mandatory 
Shell :: install bpytop arch linux 
Shell :: find file extension zsh 
Shell :: linux stop xmrig 
Shell :: ssh configuration packet tracer 
Shell :: ring check if the operating system is Unix or not 
Shell :: The main configuration file containing paths to utilities, services and packages used by Plesk 
Shell :: EFS mounting on EC2 Instances 
Shell :: how to change default directory in linux 
Shell :: how to add user and password as alias in linux 
Shell :: Git - Can we recover deleted commits? [duplicate] 
Shell :: grub rescue commands linux 
Shell :: powershell script to create github branch 
Shell :: grep belirli bir dosyada arama yapmak 
Shell :: how to access external drives from linux chrome os 
Shell :: hide ssd icon in ubuntu 
Shell :: amber vmd command line code 
Shell :: install sapper 
Shell :: git push rebase 
Shell :: grep output of two commands 
Shell :: Keepalived initialization file content 
Shell :: apt-get install language-pack-utf-8 
Shell :: install kubernetes plg 
Shell :: asp.net core linux systemd 
Shell :: command to fix frozen shell 
Shell :: Powershell script to add app to VNET integration 
Shell :: raspberry pi start browser full screen 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =