Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

add file to gitignore

touch .gitignore
$ git config --global core.excludesfile ~/.gitignore
$ echo '.idea' >> ~/.gitignore
Comment

how to put files into gitignore

$ 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 :: regolith linux 
Shell :: docker compose exec compose 
Shell :: how to change git password in git bash 
Shell :: brew upgrade 
Shell :: read from .env file bash 
Shell :: cent os GUI install 
Shell :: Install Git server on Windows 
Shell :: how to enable mod_headers in apache ubuntu 
Shell :: how to give full permission to another user linux 
Shell :: github api search 
Shell :: composer add git repository 
Shell :: powershell output array as table 
Shell :: delete all files in a directory command 
Shell :: sl in linux 
Shell :: nginx block post files 
Shell :: how to install rasa in pip 
Shell :: ubuntu 20.04 install nginx 
Shell :: commit changes from different branches 
Shell :: powershell new item 
Shell :: reaect native reactotron 
Shell :: bash script cd into script dir 
Shell :: git force add ignored file 
Shell :: Kubernetes configuration file is group readable 
Shell :: How to discard files from stash in git 
Shell :: take sudo access inside vim 
Shell :: clone github repository mac terminal 
Shell :: how to open a folder using terminal 
Shell :: github readme images 
Shell :: best code editor 
Shell :: how to put a youtube video in github description 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =