-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
Fork
you 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/translation
and press Return. Will have a button named:Branch:feature/translation
- locally check to not have destination directory:
littlenavmap
then 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 push
insert: user+pass - go to main github web repository and do a pull request
(green button:
Compare & pull request
or white button:New pull request
) - Click
Compare across forks
select head fork:YOURUSERNAME/littlenavmap -
Create pull request
green button insert an optional comment and send the Pull request close the window