The gitdiff command is as follows: {code...} because I want to continue to use git in the production environment to update the code, once the line break is changed, the code cannot be updated ...... Is there any way for docker not to modify my line break? The git diff command is as follows:
# git diff selenium60.shdiff --git a/selenium60.sh b/selenium60.shindex 6ce5f9f..8893fb3 100644--- a/selenium60.sh+++ b/selenium60.sh@@ -1,2 +1,2 @@-#!/bin/sh+#!/bin/sh^M java -Dphantomjs.binary.path=vendor/bin/phantomjs -Dwebdriver.firefox.profile=default -Dwebdriver.reap_profile=true -jar vendor/bin/selenium-standalone.jar -timeout 60 -browserTimeout 60\ No newline at end of file
Because I want to continue using git to update code in the production environment, once the line break is changed, the code cannot be updated ......
Is there any way for docker not to modify my line break?
Reply content:
The git diff command is as follows:
# git diff selenium60.shdiff --git a/selenium60.sh b/selenium60.shindex 6ce5f9f..8893fb3 100644--- a/selenium60.sh+++ b/selenium60.sh@@ -1,2 +1,2 @@-#!/bin/sh+#!/bin/sh^M java -Dphantomjs.binary.path=vendor/bin/phantomjs -Dwebdriver.firefox.profile=default -Dwebdriver.reap_profile=true -jar vendor/bin/selenium-standalone.jar -timeout 60 -browserTimeout 60\ No newline at end of file
Because I want to continue using git to update code in the production environment, once the line break is changed, the code cannot be updated ......
Is there any way for docker not to modify my line break?