At a happy place.
The idea is to share the story of that happy place of yours with fellow enthusiasts. It could be anyplace you have travelled or came across by chance. All you need is a good quality picture and a story.
We follow all the basic guidelines followed by rails. We highly recommend to first go through rails contributing guidelines. Here: [Contributing to Ruby on Rails guide](edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html) For the gist of it, these are the steps you should follow:
-
Fork the main repo rishijain/oneplaceaday
-
Clone from forked repo i.e <your username>/oneplaceaday
-
Since you have forked the repo, remote will be default ‘origin’ and to push code to your new branch
git push origin my_new_branch
-
Add a remote ‘upstream’ to point to main repo.
git remote add upstream git@github.com:rishijain/oneplaceaday.git
-
It is likely that while you have been working on your branch, the main master has gone some changes. Do these:
Fetch upstream:
git fetch upstream master
Checkout master:
git checkout master
and
git rebase upstream/master git push origin master
-
To apply your patch on top of these commits,
git checkout branch_name git rebase upstream/master git push origin branch_name
-
Send Pull Request from your new branch.
-
Keep your master updated with main repo’s master.
-
Always work on a new branch.
-
Before sending a Pull Request, fetch the main repo’s master commits and reapply your patch on top of latest pulled commits.