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 :: kubernetes clusterip 
Shell :: vscode command line run 
Shell :: ssh key for github 
Shell :: how to change home directory of git bash 
Shell :: changed files github 
Shell :: ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied 
Shell :: install selenium 
Shell :: Install docker on linux (Ubuntu) 
Shell :: download teamviewer for ubuntu 20.04 
Shell :: auto start application ubuntu 18.04 
Shell :: github actions run shell script 
Shell :: grep in multiple files 
Shell :: powershell vs bash 
Shell :: linux record camera 
Shell :: linux find a file anywhere 
Shell :: how to chnage kubectl to k 
Shell :: linux date command live update 
Shell :: count specific number in array powershell 
Shell :: The current Numpy installation fails to pass a sanity check due to a bug in the windows runtime 
Shell :: list directory xargs linux 
Shell :: install fzf redhat 8 
Php :: kill phpstorm 
Php :: php add 0 before number 
Php :: get url segment in php 
Php :: codeigniter order by 
Php :: laravel images mimetypes validatiion 
Php :: wordpress get_date 
Php :: laravel where created_at today 
Php :: check if ajax request php 
Php :: php loop x times 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =