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

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

PREVIOUS NEXT
Code Example
Shell :: how to install add-apt-repository 
Shell :: how to get github url 
Shell :: create flutter project command line 
Shell :: como atualizar a versão do angular 
Shell :: ngrok with docker-compose 
Shell :: create branch from existing branch 
Shell :: git clone latest commit 
Shell :: how to give permission to a user in linux on a folder 
Shell :: install bootstrap via npm 
Shell :: adobe reader linux 
Shell :: install grammarly on mac brew 
Shell :: install composer 2 ubuntu 
Shell :: add credentials git linux 
Shell :: stop apache2 
Shell :: remove frmo staging git 
Shell :: push an existing repository from the command line 
Shell :: run speedtest command line mac 
Shell :: tar multiple files in linux 
Shell :: ubuntu server lamp installation 
Shell :: how to delete command from terminal history 
Shell :: how to delete a commit from a branch 
Shell :: send file netcat 
Shell :: move multiple files with a single mv command 
Shell :: convert wsl to wsl2 
Shell :: pull branch git 
Shell :: merge and delete branch 
Shell :: docker map folder 
Shell :: laravel sail composer 
Shell :: git pull from template repository 
Shell :: Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =