Guidelines on how this Project works :)
Read below to see how you can join an existing project or create your own.
We don't care if you break things. This is a playground, and we encourage failing often. Use this as a practice ground, and enjoy contributing to projects you create with your fellow mates.
Contributors: Everyone who has contributed something back to the project.
Community Members: People who use the project. They might be active in conversations or express their opinion on the project’s direction.
README: The README is the instruction manual that welcomes new community members to the project. It explains why the project is useful and how to get started.
CONTRIBUTING: Whereas READMEs help people use the project, contributing docs help people contribute to the project. It explains what types of contributions are needed and how the process works. While not every project has a CONTRIBUTING file, its presence signals that this is a welcoming project to contribute to.
-
CODE_OF_CONDUCT: The code of conduct sets ground rules for participants’ behavior and helps to facilitate a friendly, welcoming environment. While not every project has a CODE_OF_CONDUCT file, its presence signals that this is a welcoming project to contribute to.
-
Issue tracker: Where people discuss issues related to the project.
-
Pull requests: Where people discuss and review changes that are in progress.
-
Shift to project directory:
cd Dev-journey.projects ```
-
Before you make any changes, keep your fork in sync to avoid merge conflicts:
git remote add upstream https://github.com/Yax-coder/Dev-Journey.git git pull upstream master
If you run into a merge conflict, you have to resolve the conflict. There are a lot of guides online, or you can try this one by opensource.com.
-
After adding the upstream and checking that all files are up to date, we now will create new branch before editing any files. There are two ways to do so:
git checkout -b <branch-name>
git branch <branch-name> git switch <branch-name>
-
On your computer, open your text editor, and add your name to the
CONTRIBUTORS.md
file. -
Add the changes with
git add
,git commit
(write a good commit message, if possible):git add CONTRIBUTORS.md git commit -m "Add <your-github-username>"
Replace <your-github-username>!
-
Push your changes to your repository:
git push origin <branch-name>
-
Go to the GitHub page of your fork, and make a pull request:
Read more about pull requests on the GitHub help pages.
-
Wait until Zerobot or one of the maintainers merges your pull request. If there are any conflicts, you will get a notification.