Version control with Git #97
-
|
I am still at week one but hope to catch soon. I followed the the getting started modular where i was doing the GitPractice. After have created the Example.qmd and push it to staged changes i cant commit and i am stuck its asking me to enter commit mesage and yet i read that this will be done later; Please enter the commit message for your changes. Lines startingwith '#' will be ignored, and an empty message aborts the commit.On branch mainInitial commitChanges to be committed:new file: Example.qmdUntracked files:.gitignoreREADME.mdI do not know how to proceed |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @Oscar-Kai, thanks for reaching out, can you take a screen-shot of what you see on your screen? The copy-paste approach unfortunately doesn't work well for GitHub, screenshots are consequently easier for us to troubleshoot 😄 Given it looks like you have Example.qmd being staged, it is likely you need to first write your commit message before selecting the commit button. That would be in the message input box just above the commit button.
A commit message mostly serves as a reminder of what occurred within that commit, one example of a commit message could be something like: "Created the Example.qmd file, and added my first lines of code to the Getting Started section" Best- |
Beta Was this translation helpful? Give feedback.

Hi @Oscar-Kai, thanks for reaching out, can you take a screen-shot of what you see on your screen? The copy-paste approach unfortunately doesn't work well for GitHub, screenshots are consequently easier for us to troubleshoot 😄
Given it looks like you have Example.qmd being staged, it is likely you need to first write your commit message before selecting the commit button. That would be in the message input box just above the commit button.
A commit message mostly serves as a reminder of what occurred within that commit, one example of a commit message could be something like: "Created the Example.qmd file, and added my first lines of code to the Getting Started section"
Best-
David