Skip to content

Workflow to code development

Daniel Gomes edited this page Jan 19, 2016 · 1 revision

The page outlines how to contribute in terms of code.

Pull requests process

  1. Make your own copy of the code by pressing bottom named "Fork"
  2. git clone https://github.com/YOUR-USERNAME/pwa-technologies
  3. Now, you have a local copy of your fork of the pwa-technologies repository
  4. When a stable release is reached, press the pull request bottom named "New pull request"

Keep your fork synced

  1. Type git remote -v and press Enter. You'll see the current configured remote repository for your fork.

  2. Manage or remote url with git remote -v

     origin  git@github.com:FCCNhviana/pwa-technologies.git (fetch)
     origin  git@github.com:FCCNhviana/pwa-technologies.git (push)
    
  3. Type git remote add arquivo, and then paste the URL you copied in Step 2 and press

      git remote add arquivo https://github.com/arquivo/pwa-technologies.git
    
  4. Verify if remote arquivo was well configured git remote -v

      arquivo https://github.com/arquivo/pwa-technologies.git (fetch)
      arquivo https://github.com/arquivo/pwa-technologies.git (push)
      origin  git@github.com:FCCNhviana/pwa-technologies.git (fetch)
      origin  git@github.com:FCCNhviana/pwa-technologies.git (push)
    
  5. Merge your code with master of arquivo

      git pull arquivo master
    

Send code changes to your branch master

  1. Add a file to master repository

    git add README.md

  2. Local copy

    `git commit -m "first commit"`
    
  3. Push code to branch master

    `git push origin master`