-
Notifications
You must be signed in to change notification settings - Fork 3
How to Get Involved...
We are currently working off the development-khaki branch, so to get you started, you can follow the Git hub steps.
-
Get the Git command line tools (if you don't have them already)
-
Fork the correct branch (development-khaki)
-
Clone the branch locally
-
Make a new folder and navigate to it using your command prompt
-
Enter the following command (amend with your username):
git clone -b development-khaki https://[email protected]/<YOUR USERNAME>/Goldfish.git
-
Now you can make the necessary changes to your local files (make a note of the files you change)
-
Once you have finished you can tell github what files you have changed
-
Check what you are doing is legit...
git add "src/components/filename.js" --dry-run
-
If you are happy, make it happen...
git add "src/components/filename.js"
-
You can add more than one file by separating them with a space:
git add "src/components/filename/filename1.js" "src/components/filename/filename2.js"
-
Alternatively, you can get git to add any amended or added files:
-
Check what you are doing is legit...
git add -A --dry-run
-
If you are happy, make it happen...
git add -A
-
Then commit your changes:
git commit –m"commit comment"
-
Check everything is ok:
git status
-
Review the output of the status and if you need to undo whatever it was you were about to do in haste:
git reset
-
Finally we need to actual push the commit to github to commit your changes against the branch:
git push
-
It's pretty easy to get changes as well:
git pull
When you have finished making changes against your forked branch of the repository, you can request a pull request back to the branch you forked from: