8,807
edits
m (+ SSH key) |
|||
Line 99: | Line 99: | ||
As a developer, you probably want to share your work with the world. For FlightGear, most developers do this by commiting stuff to the Git repository. | As a developer, you probably want to share your work with the world. For FlightGear, most developers do this by commiting stuff to the Git repository. | ||
'''Only required once:''' | |||
# Register an account at [http://gitorious.org Gitorious]. | # Register an account at [http://gitorious.org Gitorious]. | ||
# [http://gitorious.org/fg/fgdata/clone Clone fgdata]. | # [http://gitorious.org/fg/fgdata/clone Clone fgdata]. | ||
# Open Git Bash in your data directory and run ''ssh-keygen''. | |||
# Enter the name of the file in which you prefer to save the key and press Enter. | |||
# Enter your password/passphrase and press Enter. You'll have to do this twice. | |||
# Your key is now being generated. Open the .pub file with an editor (eg. Notepad++) and copy the content. | |||
# Visit your dashboard at Gitorious and navigate to "Manage SSH keys". | |||
# Click the "Add SSH key" button and paste the content of the .pub file. Follow the instructions on the screen. | |||
# Congratulations on finishing the setup procedure! | |||
'''Required with each update:''' | |||
# Browse to the root of your updates (if you are commiting a new aircraft, this will be Aircraft/.../) and open Git Bash. | # Browse to the root of your updates (if you are commiting a new aircraft, this will be Aircraft/.../) and open Git Bash. | ||
# Run ''git status -- .'' to show the status of the current directory. | # Run ''git status -- .'' to show the status of the current directory. | ||
Line 111: | Line 121: | ||
# Once again write a short summary (could be the same as used with git commit), but this time, also write an explanation of your merge request (what does it do). Make sure you set target repository to fgdata! | # Once again write a short summary (could be the same as used with git commit), but this time, also write an explanation of your merge request (what does it do). Make sure you set target repository to fgdata! | ||
# Tick the box in front of your commit and click the "Create merge request" button. | # Tick the box in front of your commit and click the "Create merge request" button. | ||
# Now, all you have to do is contact a contributor and wait till he accepts your merge request ;) | # Now, all you have to do is contact a [http://gitorious.org/+flightgear-developers contributor] and wait till he accepts your merge request ;) |