Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

lf will be replaced by crlf

Linux and MacOS: use characters as in file
$ git config --global core.autocrlf input

Windows: deactivate the automatic conversion to CRLF
$ git config --global core.autocrlf false
Comment

LF would be replaced by CRLF in package-lock.json

git config --global core.safecrlf false
Comment

warning: LF will be replaced by CRLF

git config --global core.autocrlf false
Comment

LF will be replaced by CRLF in assets

git config core.autocrlf true
Comment

warning: LF will be replaced by CRLF in [file_path]

For Linux and MacOS: use characters as in file
	git config --global core.autocrlf input

For Windows: disable the automatic changing to CRLF
	git config --global core.autocrlf false
Comment

fatal: LF would be replaced by CRLF in package.json

$ git config --global core.autocrlf false
$ git config --global core.safecrlf false
Comment

warning: LF will be replaced by CRLF in

# Option 1:
git config --global core.autocrlf false

# Option 2:---> Worked for me perfectly on Linux.
git config --global core.safecrlf false
Comment

git warning lf will be replaced by crlf

All the answers here are good but you might just have a file open that you're trying to push
Comment

LF will be replaced by CRLF hassan

mklink /H git-config .gitconfig
git add git-config
git commit -m "Now tracking git config file"
Comment

PREVIOUS NEXT
Code Example
Shell :: using ffmpeg on mac to record screen 
Shell :: expo react native init 
Shell :: prisma migrate 
Shell :: git stash drop all 
Shell :: Scan Existing disk in linux 
Shell :: add desktop entry ubuntu 
Shell :: install openssl 1.0 ubuntu 20.04 
Shell :: delete non empty directory 
Shell :: install arial font to linux 
Shell :: install postgis 2.5 ubuntu 
Shell :: cmd take ownership of folder 
Shell :: change commit date git 
Shell :: eslint npm install 
Shell :: install torch2trt nvidia jetson 
Shell :: how to debug a specific pod when Replication controller is doing load balancing 
Shell :: get filebeat version 
Shell :: how to reset network on ubuntu 20.04 
Shell :: restart ssh 
Shell :: how to uninstall games on ubuntu 
Shell :: bash exit file path 
Shell :: cordova plugin list save 
Shell :: git log format online 
Shell :: restart rstudio 
Shell :: stop port in use 8000 
Shell :: bash replace symlinks files 
Shell :: how to install to mysql server in powershell 
Shell :: check jitsi ubuntu version 
Shell :: folder color ubuntu 
Shell :: bash: ufw : commande introuvable 
Shell :: pyqt5 designer download 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =