We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39e3574 commit 1d61035Copy full SHA for 1d61035
src/sync_template.sh
@@ -435,7 +435,7 @@ function handle_templatesyncignore() {
435
# -s is true if the file contains whitespaces
436
if [ -s "${template_sync_ignore_file_path}" ]; then
437
debug "unstage files from template sync ignore ${template_sync_ignore_file_path}"
438
- sed '/^[[:blank:]]*#/d;s/#.*//' "${template_sync_ignore_file_path}" | awk NF | xargs -r git reset --
+ tr -d '\r' < "${template_sync_ignore_file_path}" | sed '/^[[:blank:]]*#/d;s/#.*//' | awk NF | xargs -r git reset --
439
440
debug "clean untracked files"
441
git clean -df
0 commit comments