Learn Git by Building an SQL Reference Object - You should use the "squash" option

Hello, I am stuck on Squashing commits step at Learn Git by Building an SQL Reference Object course.

When I try following the steps it doesn’t work. I will provide step by step with pictures below.

Step 1:
I restart the step with the command and follow the other steps.

Step 2:
Change the pick to s

Step 3:
After closing the file, this opens. I just closed it. Should I do something else?

Step 4:
After that, I get a successful message.

Step 5:
But when I click “Run” and try to proceed to the next step, the message “You should use the “squash” option” pops up.

I also tried the “Restart” button, but it’s the same. At first, it wasn’t like this (step by step); I had some problems with extension sync.

This is my source control part:

In case I click or enter something I shouldn’t, I am about 70% in, so starting all over is my last option, especially if this happens again when I get here.

Welcome back to the forum @edinkalaba45

The first time you are not meant to make any changes.
Keep the file open, then click Run

When you are prompted to mark the squash, mark it then close the file.
Then click Run

Happy coding

Thank you very much for your help, it works now!

1 Like