Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git ignore local file changes

# To skip local changes to files managed by git
$ git update-index --skip-worktree path/to/file
# To restore normal git behaviour
$ git update-index --no-skip-worktree path/to/file

# assume-unchanged can also be used, it's designed for local files that DON'T change
# git reset --hard will drop files ignored through assume-unchanged
$ git update-index --assume-unchanged path/to/file
$ git update-index --no-assume-unchanged path/to/file
Comment

PREVIOUS NEXT
Code Example
Shell :: telegram desktop for linux 
Shell :: bash find files with extension 
Shell :: redis cli docker 
Shell :: delete directory linux 
Shell :: how install pyqt5 designer 
Shell :: git status just shows directory and not files 
Shell :: acce;lerate ubuntu 
Shell :: apache run script on startup 
Shell :: intellij ultimate install ubuntu 
Shell :: ffmpeg cutting time video 
Shell :: npm install -g angular cli 
Shell :: laravel install lysystem-aws-s3 
Shell :: perfect git commit 
Shell :: connect vm to cloud storage gcp 
Shell :: find unused files android studio 
Shell :: ubuntu 20.04 vmware tools 
Shell :: install autoconf macos 
Shell :: pull changes from dev to remote ranch without merging branch 
Shell :: Could not install Visual Studio Build Tools. 
Shell :: pip remove 
Shell :: apache version mac 
Shell :: saml2aws logout 
Shell :: install pyaudio in pycharm 
Shell :: install paho mqtt client raspberry pi 
Shell :: xcode debug show full string 
Shell :: mac get your screen size terminal 
Shell :: passport deploy to server 
Shell :: bash: /bin/rm: Argument list too long 
Shell :: ubuntu extract rar file 
Shell :: pytorch anaconda install windows 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =