-
-
Notifications
You must be signed in to change notification settings - Fork 183
PullRequest
Alexander Barthel edited this page Jan 2, 2018
·
1 revision
Creating a pull request (Github)
- AS NEEDED/FIRSTTIME: go to github and login,
go to main web repository:
https://github.com/albar965/littlenavmap - AS NEEDED/FIRSTTIME: Create a fork of main repository,
press button
Forkyou will be redirected to personal web forked repository:
https://github.com/YOURUSERNAME/littlenavmap - AS NEEDED: create a branch with a new name, button
Branch:master, choose a name, es.feature/translationand press Return. Will have a button named:Branch:feature/translation - locally check to not have destination directory:
littlenavmapthen locally clone the personal web fork:
$ git clone https://github.com/nick/littlenavmap $ cd littlenavmap- AS NEEDED: select the branch:
$ git checkout feature/translation - ==> hack the code, modify source files ...
-
$ git commit -a
depending of default editor: insert (VI command a/i) modifications description (before already present comments), save (VI :w), quit (VI :q) - upload on github remote personal web fork:
$ git pushinsert: user+pass - go to main github web repository and do a pull request
(green button:
Compare & pull requestor white button:New pull request) - Click
Compare across forksselect head fork:YOURUSERNAME/littlenavmap -
Create pull requestgreen button insert an optional comment and send the Pull request close the window