On using GitHub

The primary use of GitHub for the team is to be in sync with the scripts we are constantly modifying. The scripts stored are ontology and udflds scripts only.

Step-by-step guide

A.  Setup GitHub

  1. Download and install GitHub for Windows.  This is GitHub's user interface for Windows if you don't want to work via command line.  See also https://help.github.com/articles/getting-started-with-github-for-windows/
  2. Create a folder in your laptop to sync with GitHub.  In this example, I created a GitHub folder. At this point, you won't have the DBScripts folder yet.



  3. Click the wheel icon of the GitHub for Windows (far right) to configure the settings and click Options.


  4. In the Options screen, manage your account by logging in if you haven't logged in yet and click Browse to add the new folder that would contain the files from GitHub.

  5. Click the plus icon, select clone > IntegratedBreedingPlatform. 


  6. Click DBScripts > Clone.
  7. Click BMSConfig > Clone.
  8. Review the folders and files.

B.  Commit changes

  1. For example, I can directly edit the update text file (Click on the image to zoom). 
    I use a text editor and save my changes.


  2. Got to GitHub for Windows and see that it syncs automatically.  Click the Changes.  It detects your local change(s).

  3. Enter the summary & description of the change and click Commit to master.
  4. Final step is to click Sync to push the change to the repository so everyone in the team can have the latest version of your file(s).


Very important step to push the changes to the repo

C.  Sync

Click Sync or wait for GitHub on Windows to sync automatically. This ensures that your files are always up-to-date.

There is no content with the specified labels