Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

gitignore specific file

$ git rm --cached relative/filepath.json
--> removes the file from the gitproject

also add "relative/filepath.json" to .gitignore
Comment

gitignore a specific file

$ echo debug.log >> .gitignore $ git rm --cached debug.log rm 'debug.log' $ git commit -m "Start ignoring debug.log" 
Comment

PREVIOUS NEXT
Code Example
Shell :: arch linux wine 
Shell :: removing package using snap 
Shell :: mongo shell change db 
Shell :: remove branch git 
Shell :: git push to new branch 
Shell :: kuberetes config 
Shell :: htop ubuntu installation command 
Shell :: common use of python sys library 
Shell :: shell search history 
Shell :: gitlab ci echo variable 
Shell :: docker compose commands 
Shell :: npm install firebase @angular/fire 
Shell :: enable ssh on ubuntu 20.04 
Shell :: how to access folder using command on git bash terminal 
Shell :: How do I use combination of head and tail commands in LINUX in order to print few lines of code 
Shell :: recursive rename powershell 
Shell :: dev/ktm not found 
Shell :: how to add new line to each line 
Shell :: bluettoth device not shwoing as output in ubuntu 
Shell :: start networking ubuntu recovery 
Shell :: git debug 
Shell :: compile file with library in usr/local cmake 
Shell :: adb link server in react native 
Shell :: Set email address for LFD alerts 
Shell :: cara menghapus kode-kode di terminal linux 
Shell :: ubuntu 18.04 create folders in dock 
Shell :: visual studio code hide git marker 
Shell :: tmux resume 
Shell :: Install Lumen CSV 
Shell :: gnome disks mount read write 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =