Skip to content

PullRequest

Alexander Barthel edited this page Jan 2, 2018 · 1 revision

How To create a pull request

Creating a pull request (Github)

  1. AS NEEDED/FIRSTTIME: go to github and login, go to main web repository:
    https://github.com/albar965/littlenavmap
  2. AS NEEDED/FIRSTTIME: Create a fork of main repository, press button Fork you will be redirected to personal web forked repository:
    https://github.com/YOURUSERNAME/littlenavmap
  3. AS NEEDED: create a branch with a new name, button Branch:master, choose a name, es. feature/translation and press Return. Will have a button named: Branch:feature/translation
  4. locally check to not have destination directory: littlenavmap then locally clone the personal web fork:
    $ git clone https://github.com/nick/littlenavmap
  5. $ cd littlenavmap
  6. AS NEEDED: select the branch:
    $ git checkout feature/translation
  7. ==> hack the code, modify source files ...
  8. $ git commit -a
    depending of default editor: insert (VI command a/i) modifications description (before already present comments), save (VI :w), quit (VI :q)
  9. upload on github remote personal web fork:
    $ git push insert: user+pass
  10. go to main github web repository and do a pull request (green button: Compare & pull request or white button: New pull request)
  11. Click Compare across forks select head fork:YOURUSERNAME/littlenavmap
  12. Create pull request green button insert an optional comment and send the Pull request close the window
Clone this wiki locally