Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how iggnor .env change in github branch

go inside your terminal
this will remove your .env file from local 
then you change anything it will not appear in change for git hub commit

before run this command take backup of your .env file for local

$ git rm --cached .env

git commit -m ""
this will remove file from git repository on your branch 
Source by devconnected.com #
 
PREVIOUS NEXT
Tagged: #iggnor #change #github #branch
ADD COMMENT
Topic
Name
9+8 =