QA/Execution/Web Testing/Automation/github: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "If you are working with a Fork of one of repositories, please follow the steps below as it makes processing GitHub Pull Requests. # git branch some-new-test # git add test_that_...")
 
No edit summary
Line 10: Line 10:
Then once the pull request has been completed do
Then once the pull request has been completed do


# git merge some-new-test
* ''git merge some-new-test''
 
This merges in your changes to your local master
This merges in your changes to your local master


When done and you want to delete the remote branch do
When done and you want to delete the remote branch do


#git push origin :some-new-test
* ''git push origin :some-new-test''


That deletes the remote copy in your github.
That deletes the remote copy in your Github.

Revision as of 12:03, 18 February 2011

If you are working with a Fork of one of repositories, please follow the steps below as it makes processing GitHub Pull Requests.

  1. git branch some-new-test
  2. git add test_that_breaks_the_world.py
  3. git commit -m 'You need this amazing-ness'
  4. git push origin some-new-test

Then do the Github pull request as you have already.

Then once the pull request has been completed do

  • git merge some-new-test

This merges in your changes to your local master

When done and you want to delete the remote branch do

  • git push origin :some-new-test

That deletes the remote copy in your Github.