Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to Contribute to Open-Source

How to Contribute to Open-Source

How to contribute to Open-source using the power of Git and GitHub.
The step and command, and things needed to know about open-source.

Aina Oluwatimilehin

December 12, 2019
Tweet

Other Decks in How-to & DIY

Transcript

  1. According to Wikipedia, Open-source software is a type of computer

    software in which source code is released under a license in which the copyright holder grants users the rights to study, change, and distribute the software to anyone and for any purpose. It’s also a software which allow you have access to the source code, you can contribute to and makes changes to, to fit your needs under the CC. You feel me?....
  2. Git is the code, while Git(Hub) is where the code

    lives….. Am I right…. Lolz. According to Wikipedia, Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows, Github provides hosting for software development version control using Git. Git is a version control system, while GitHub is the base of hosting our codebase online for easy contribution and accessibility.
  3. How to Contribute to Open-source Contributing to open-source(open-sauce) is not

    hard just make sure the sauce is open and edible. :) :) So contributing to open-source requires us to know and harnessing the tool call “Git and the hub(Git)”, having know the in and out of using this tool will make it easy for us to contribute to any open-source project/software.
  4. Useful Git command to contribute with “git checkout -b [your-branch-name]

    master ” : for creating a branch from master “git add .” or “git add --all ” : to add all the files after making changes / editing “git commit -am “commit message ”: to add message to commit so that to know what feature one work on and for trackability. “git push --set-upstream origin [your-branch-name] ”: to set the branch to push to the origin “git remote -v” : to check the status of the repo if it’s connected online yet “git remote add upstream [original-repo-git-link] ” : to add the original repo link to local branch in order for the change to sync dynamically “git fetch upstream ” : to fetch the original repo update to the local one and make it up to date. “git check master ” : to check if the master branch is up to date with the local repo on the machine. “git merge upstream/master ” : to merge the original repo and local repo
  5. Thank you! If you have any questions ? ? ?

    ? ? Hi me @ [email protected] / @Iam_whizkevina (twitter)