1. Fork a Github repository.
The steps are quite intuitive. Despite the volume of instructions, there's nothing to worry about.
Login and visit the project site again: https://github.com/soquanchi/interactive-video-grid;
Look for and click the "fork" button between "watch" and "star" (why not star itπ);
On the next page, before clicking "create fork", modify the repository name and description if necessary, or leave them at their defaults;
Open the Desktop app, choose File > Clone Repository or Clone a Repository from the Internet on the start screen;
Select your recently forked repository under the Github.com tab, then click "clone." Refresh if it doesn't appear.
Choose "For my own purposes" when asked how are you planning to use it;
A folder containing project files should now exist in the Documents/Github/ directory on your computer, regardless operating system.
If you've built as per earlier instructions, replace everything in the new folder by copying and pasting all files in your original folder; otherwise, configure the project directly here;
Switching back to the Desktop app will display a list of altered files in the sidebar. Click "commit to main" until "No Local Changes" appears, then click "push origin" to upload to the online repository. Repeat this whenever changes are made.
After forking, your project now lives online. It's okay to delete the original folder we downloaded in step 2 and make adjustments only to the forked one under Documents/Github/[your-directory]. It's even fine to delete that folder as well. Clone it from the repository again when needed.
You've successfully forked your project and it's live on the Internet.
Use the "View on Github" button in the Desktop app or go to your web-based account to access the repository and record the URL for sharing.
Yay!
What is forking? And, why fork?
"Forking" is akin to making a personal photocopy of another's project. It lets you experiment and modify without impacting the original project.
Why fork? Apart from safe experimentations, there are several key reasons:
Propose Changes: If you have made changes that could be beneficial to the original project, you can suggest these modifications. This is done through a "pull request", where the original project owner can review and potentially accept your changes.
Respectful Contribution: Forking is an essential part of the collaborative nature of open-source projects. It's a way to respect the original creator's work while contributing your own ideas and improvements.
Increase Visibility: Forking can also increase a project's visibility. When you fork a project, it appears on your GitHub profile, showcasing the community's active engagement and interest in the original project.
Pulling Updates: To ensure your fork remains up-to-date with the original project, you can "pull" changes from the original project into your fork, subscribing to new features and functionalities.
More importantly, you can now share a link to your work rather than a folder. Well done!
Continue to next step to take it up a notch.
Last updated