Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dash to regex and fix typo (Fixes #114) #156

Merged
merged 4 commits into from
May 10, 2016

Conversation

Zodiac1978
Copy link
Contributor

I'm not a Git guru, so I just reverted the unnecessary commit. Fine? Or what should I do to split this up?

@Otto42
Copy link
Member

Otto42 commented May 10, 2016

Generally speaking, you make a new "branch" for each separate "thing" that you're working on. This is because when you submit a PR, then you're submitting all the changes in that whole branch. Updating the branch later updates the PR as well. Thus, each branch should consist of one whole change for one specific purpose.

Reverting the other change is fine at this time. For the future, just so you know, when you want to work on an unrelated thing, switch back to the master, then branch from there for the new thing to be worked on. Keeps changes separate. :)

@Otto42 Otto42 merged commit 3f35b70 into WordPress:master May 10, 2016
@Zodiac1978
Copy link
Contributor Author

Yes, that was may fault. I should have created a new branch for that. Thanks for the merge.

Unfortunately the title of the reverted commit still triggered the close of #115 - could you re-open the ticket for me @Otto42 ? Thanks in advance!

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