Commiting gitignored files #362
-
I am trying to write a github action that builds my latex file and commits it to a separate branch. The building (and uploading as an artifact) work so far, but when trying to use the commit action i cannot get it to actually add the file (but i did add the --force option to git add). This is my Action Code:
And this is the output of the execution:
Did i miss something? By adding the force-option to git-add the file should be used even if it would otherwise be ignored by the .gitignore. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
git-auto-commit runs |
Beta Was this translation helpful? Give feedback.
git-auto-commit runs
git-status
before creating the commit.You can add
skip_dirty_check: true
to skip this check and let git-auto-commit always try to create a commit.