Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git exclude some files from git commit

To exclude some files from git commit
-----------------------------------------------
syntax  - git update-index --assume-unchanged <filepath>
example - git update-index --assume-unchanged default/config.php

To undo the above command
-----------------------------------------------
syntax  - git update-index --no-assume-unchanged <filepath>
example - git update-index --no-assume-unchanged default/config.php
Comment

PREVIOUS NEXT
Code Example
Shell :: tail linux 
Shell :: sed add word to end of line 
Shell :: powershell pip CERTIFICATE_VERIFY_FAILED 
Shell :: uniq linux 
Shell :: how do I add a commit to an existing pull request 
Shell :: kubectl exec run command inside pod 
Shell :: How to count number of files in each directory 
Shell :: command line remove directory and contents 
Shell :: git pull sith ssh key 
Shell :: how to install xfce 
Shell :: git delete branch upstream 
Shell :: ubunto give permission for a user 
Shell :: [INS-30131] Initial setup required for the execution of installer validations failed. 
Shell :: unzip rar 
Shell :: git log all branches 
Shell :: how to add images to git readme 
Shell :: command for discard change in git 
Shell :: bash get last character of string 
Shell :: htaccess hide directory listing 
Shell :: ubuntu install lamp 
Shell :: how to kill process 
Shell :: remove commit from github 
Shell :: shell one line for loop 
Shell :: pipenv install virtual at same path 
Shell :: merge and delete branch 
Shell :: pip install algolia 
Shell :: install latex 
Shell :: install node_modules 
Shell :: making a service provider in laravel 
Shell :: create git repository pycharm 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =