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 525c669 commit aba0971Copy full SHA for aba0971
src/sync_template.sh
@@ -377,7 +377,7 @@ function handle_templatesyncignore() {
377
# -s is true if the file contains whitespaces
378
if [ -s "${template_sync_ignore_file_path}" ]; then
379
debug "unstage files from template sync ignore ${template_sync_ignore_file_path}"
380
- < "${template_sync_ignore_file_path}" awk NF | xargs -r git reset --
+ sed '/^[[:blank:]]*#/d;s/#.*//' "${template_sync_ignore_file_path}" | awk NF | xargs -r git reset --
381
382
debug "clean untracked files"
383
git clean -df
0 commit comments