To contribute to the plugin-jdf, fork the plugin-jdf repository to your own Git, clone your fork, commit your work on topic branches, and make pull requests.
If you don't have the Git client (git
), get it from: http://git-scm.com/
Here are the steps in detail:
-
Fork the project. This creates a the project in your own Git.
-
Clone your fork. This creates a directory in your local file system.
git clone [email protected]:<your-username>/plugin-jdf.git
-
Add the remote
upstream
repository.git remote add upstream [email protected]:jboss-jdf/plugin-jdf.git
-
Get the latest files from the
upstream
repository.git fetch upstream
-
Create a new topic branch to contain your features, changes, or fixes.
git checkout -b <topic-branch-name> upstream/master
-
Contribute new code or make changes to existing files. Make sure that you follow the General Guidelines below.
-
Commit your changes to your local topic branch. You must use
git add filename
for every file you create or change.git add <changed-filename> git commit -m `Description of change...`
-
Push your local topic branch to your github forked repository. This will create a branch on your Git fork repository with the same name as your local topic branch name.
git push origin HEAD
-
Browse to the branch on your forked Git repository and open a Pull Request. Give it a clear title and description.