Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove remote file keep local

# for single file
git rm --cached myfile

# for directory file
git rm --cached --r myfile
Comment

PREVIOUS NEXT
Code Example
Shell :: install siege on mac 
Shell :: docker force a rebuild 
Shell :: npm install directly fron github 
Shell :: find process on linux 
Shell :: `Cannot autolaunch D-Bus without X11 $DISPLAY` 
Shell :: checkout to last commit git 
Shell :: tailwind nodejs 
Shell :: kill dyno process heroku 
Shell :: scp all files in directory 
Shell :: install chrome webdriver node 
Shell :: Failed to start The Apache HTTP Server. 
Shell :: remove local images 
Shell :: how to install .bin file in linux 
Shell :: to see all after commit in local repository in git 
Shell :: install font ubuntu 
Shell :: ping in cmd 
Shell :: packet tracer ubuntu 
Shell :: Stack found this candidate but arguments dont match 
Shell :: docker run name 
Shell :: untar gz file ubuntu 
Shell :: revert local commit 
Shell :: upgrade ionic capacitor 
Shell :: failed to open stream: Permission denied in path on mac 
Shell :: ubuntu install supervisor 
Shell :: vs code terminal open file in separate window 
Shell :: How to install LAMP in Ubuntu 20.04? 
Shell :: sed add line after match 
Shell :: tailwindcss cli 
Shell :: vim wnd of file 
Shell :: git log show diff 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =