/
Setting Up Your Git Environment

Setting Up Your Git Environment

This page is for you if you are a first time contributor to PBS Pro (or returning after an extended vacation).

Each developer works with three PBS Pro repositories:

To contribute to PBS, set up your Git environment following the steps below:

  • Create a GitHub account if you don't have one already.
  • Install Git on your local machine.
  • Go to the PBS Pro golden repository on GitHub: https://github.com/PBSPro/pbspro.

  • Create a fork of the golden repository.

  • Clone the forked repository to your local machine:

    git clone https://github.com/<your GitHub user name>/pbspro.git

  • Go inside the cloned directory:

    cd pbspro

  • Configure your Git name and email (<username>@emaildomain.com: your email ID)

    git config --global user.name "<your name>"

    git config --global user.email <username@emaildomain.com> (your email)

    Note: You may skip --global if you want to use this configuration only for the PBS repository.

  • Add a remote called "upstream" (we use this convention) for the golden repository

    git remote add upstream https://github.com/PBSPro/pbspro.git


OSS Site Map

Developer Guide Pages




Related content

Step-by-step Instructions for Bugfix or Feature
Step-by-step Instructions for Bugfix or Feature
Read with this
Setting Up PTL the First Time
Setting Up PTL the First Time
More like this
Rebasing Your Dev Branch
Rebasing Your Dev Branch
Read with this
PBS Pro Versioning (draft only)
PBS Pro Versioning (draft only)
More like this
Building PBS Professional Under Windows: PBS v. <19.4
Building PBS Professional Under Windows: PBS v. <19.4
More like this
Building and Packaging PBS on Debian/Ubuntu
Building and Packaging PBS on Debian/Ubuntu
More like this