Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Oct 29, 2017

No description provided.

Copy link
Member

@ben ben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly 👍, just one request.

Say you have a series of commits with messages like ``oops.'', ``WIP'' and ``forgot this file''.
You can use `reset` to quickly and easily squash them into a single commit that makes you look really smart.
(<<_squashing>> shows another way to do this, but in this example it's simpler to use `reset`.)
(<<_squashing>> shows another way to do this but, in this example it's simpler to use `reset`.)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disagree with this change. If it were "clause, but, clause, clause" I agree that the comma should come before "but", but in a "clause, but clause" structure the comma should stay before.

Oh, I just found a source to back up my instinct:

Rule: Use a comma before a coordinating conjunction that joins two independent clauses.

She purchased the car, but she declined the extended warranty.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I stand corrected, and will fix.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, fixed, commit amended and pushed.

@ghost ghost force-pushed the reset_demystified branch from b5cc2cf to 577a249 Compare October 30, 2017 18:43
@ben ben merged commit b5c6ec5 into progit:master Oct 30, 2017
@ghost ghost deleted the reset_demystified branch October 30, 2017 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants