If not installed, install `git
Fork the project on Github by clicking on the word "Fork" above and to the right of this page. This will create your own fork at https://github.com/YourNameHere/I_Book.git. Then clone your fork to your local repository on your machine and set up a triangle workflow using these commands:
git clone https://github.com/YourNameHere/I_Book.git
cd I_Book
git remote add upstream https://github.com/Vs-karma/I_Book.git
Make sure your fork is up-to-date and create a topic branch for your feature or bug fix. (The name my-feature-branch
is an example. Choose whatever you like.)
git checkout master
git pull upstream master
git checkout -b my-feature-branch
Implement your feature or bug fix.
Make sure git knows your name and email address:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
A commit log should describe what changed and why.
git add yourChangedFile.java
git commit -m "Fixed Foo bug by changing bar"
git push origin my-feature-branch
Go to https://github.com/yournamehere/I_Book and select your feature branch. Click the 'Pull Request' button and fill out the form.
If you've been working on a change for a while and other commits have been made to the project, rebase with upstream/master.
git fetch upstream
git rebase upstream/master
git push origin my-feature-branch -f
Please do know that we really appreciate and value your time and work. We love you, really.