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

Issue#707 #962

Closed
wants to merge 4 commits into from
Closed

Issue#707 #962

wants to merge 4 commits into from

Conversation

deepthivenkat
Copy link
Member

No description provided.

@karlcow
Copy link
Member

karlcow commented Mar 14, 2016

@deepthivenkat Some issues to fix ^_^

Branches and Commits

Here you are trying to create a pull request in the same branch. See there are commits for the other issue you were trying to fix before. When working on issues, create a new branch for each issue and always starts from the master. The way I do it.

git checkout master # be sure to be in master
git fetch origin master # grab the latest version of master
git checkout -b 707/2 # create my second version of work on the issue 707. See below
# working on your branch 707/2 with simple commits.
# and meaningful messages
git commit -m "#707 Do this and that."
git commit -m "#707 Check for blah."
# You can push to your own fork on github
git push origin 707/2 # create a branch with the name 707/2 on github in your repo.
# You can request for comments.
# When you are done, create a pull request with the right message against master on webcompat.

Branch names: If I work on issue 707. I usually name the first branch 707/1, then if I realize it was not what I intended, or it was not a good work iteration or I took too long working on it and I need to adjust to a master completely different. I go back to master and create a new branch 707/2 which would my second iteration about this work. I will delete 707/1 when I'm not sure I don't need anything else there. It's @miketaylr style that I have adopted. @magsout has a different style. :)

Give explicit wording to pull requests

Pull requests need an explicit wording so we know what they are about. A better title would be Fix #707 - Adds label for Edge browser

I propose we close this Pull request. And you restart a branch with just the needed commits.

Thanks.

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