Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 851 Bytes

CONTRIBUTING.md

File metadata and controls

44 lines (35 loc) · 851 Bytes

Open for Contribution

  1. Fork the repository and then clone it. For cloning command is:
$ git clone "https://github.com/<username>/30DaysOfJava"
  1. Do changes and stage them.
$ git add <filename>
  1. Commit you changes with a commit message.
$ git commit -m "<message>"
  1. Push changes to your forked repository
$ git push -u origin branchname
  1. Create a pull request to the upstream repository.

Synchronize forked repository with Main repository (Needed if creating a branch)

  1. Create upstream as our repository
$ git remote add main "https://github.com/dotQuestionmark/30DaysOfJava"
  1. Fetch changes from main repository
$ git fetch main
  1. Merge changes after being fetched
$ git merge main/master
  1. Push changes to your forked repository
$ git push -f origin master