Glitch messages while committing via git


#1

I’m using the git CLI to commit to a repo. Everything works, fine. However, unchanged files display a standard Glitch message saying “Checkpoint” as the commit msg. Is there a way to avoid this?


#2

When Glitch initially adds your files to the repo, it uses the commit message “Checkpoint”. It sounds like that’s what you’re seeing. I’m not sure exactly what the problem is. It would help to know what git commands you’re running, and what you expect to see as the output for those file.


#3

I would prefer to omit that message and use the message I set instead.

I use
git init
git add .
git pull origin master
git push


#4

You can do that by killing the git repository we created for you,and recreating it:

rm -rf .git
git init
git add .
git commit -m "<your commit message>"

If you do that, you’ll lose any history that you have in your project, but you’ll get the initial commit message that you want. Keep in mind that you’ll still get those checkpoint commits for any changes you make after that in Glitch.


#5

Thanks!

[Char limit]