Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove without deleting

For a single file:

git rm --cached mylogfile.log

and for a single directory:

git rm --cached -r mydirectory
Comment

PREVIOUS NEXT
Code Example
Shell :: heroku update remote url 
Shell :: copy from master to branch 
Shell :: how to install node dependencies 
Shell :: how to install packages from github in flutter 
Shell :: show proxy from powershell 
Shell :: unix set current time in file name 
Shell :: how to force remove a directory in kali linux 
Shell :: cypress installation 
Shell :: view live log linux 
Shell :: install kotlin ubuntu 
Shell :: if -z in bash 
Shell :: git set head to commit 
Shell :: when was kali linux released 
Shell :: ssh login windows 
Shell :: node install mint 
Shell :: How to check if there are multiple versions of PHP installed on Ubuntu 12.04 LTS? 
Shell :: find in file linux 
Shell :: ubuntu 20.04 ntfs read only 
Shell :: Go install /linux 
Shell :: git remote commands 
Shell :: install all dependencies npm 
Shell :: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? 
Shell :: git delete all remote branches except master 
Shell :: how to run .sh file in background linux 
Shell :: install chromedriver linux 
Shell :: github visualise branches 
Shell :: iis reset command 
Shell :: virtualbox kernel driver not installed ubuntu 
Shell :: scheduler ubuntu cmd 
Shell :: night light for ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =