-
I am using octokitjs to commit to a repo. But sometimes files aren't committed. The code works fine. Does GitHub reject commits if there is no change? |
Beta Was this translation helpful? Give feedback.
Answered by
Nithur-M
Jul 13, 2022
Replies: 2 comments
-
@Nithur-M Hi there! Could you please share?:
That’ll help us to figure out what’s going wrong. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, thanks for responding. I think GH automatically doesn't write the commits if there aren't any changes in the files. I intentionally changed the content and committed it again, it works fine. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
timrogers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for responding. I think GH automatically doesn't write the commits if there aren't any changes in the files. I intentionally changed the content and committed it again, it works fine.