Git It? How to use Git and Github

Git It? How to use Git and Github

Learn how to use Git and Github 🐙🐱 Contributing to open-source is satisfying on many levels. Not only does it validate your skills for recruiters, but it leads to higher quality software that empowers developers to build better products. But submitting your first pull request on GitHub can be intimidating. The goal of this guide is to give you a clear set of steps for contributing any OS project

Contributing to open-source is satisfying on many levels. Not only does it validate your skills for recruiters, but it leads to higher quality software that empowers developers to build better products. But submitting your first pull request on GitHub can be intimidating. The goal of this guide is to give you a clear set of steps for contributing any OS project 🔥.

This guide assumes that you have a Github account and git installed on your machine.

Step 1: Fork

After you find a repo that looks cool, the first step is to fork it. A fork will create a copy of the repo under your account that you can modify, while maintaining a link to original (that’s called the upstream repo).

How to Participate on Github

Step 2: Clone

Now let’s download the code to your local machine by cloning the fork.

git clone <your-fork-url.git>

You should now have a directory for your project that can be opened with your preferred code editor.

Step 3: Branch

A git repo is just a big tree 🌳. You might have hundreds of people working on the same project and branches ensure that collaboration can happen without complete chaos. Changes on your branch are isolated from the work everybody else is doing.

git checkout -b my-cool-thing

At this point you can start making changes to the code.

Step 4: Commit

When you are happy with the changes, you can stage the changes and commit the code.

git add .
git commit -m "🚀 I made this software better!"

Step 5: Pull Request

A “pull request” is identical to a “git merge”, but it is requested from an external source - you. In fact, it is called a “merge request” on other platforms, which I think is a better name, but I digress.

Let’s push your branch to your fork.

git push origin my-cool-thing

When you go back to Github you should automatically see a button labeled Create New Pull Request for my-cool-thing. Go ahead and push that button. Add additional details as needed and it will show up in the list of PRs once submitted. How to Participate on Github

Submit your First PR?

Fireship.io is an open source project, which means you can submit a change for the very web page you are reading right now. If you are looking for some real-world practice, feel free to add a sentence, a typo fix, an emoji, or any other improvement to the pages on this site (see link in footer to go directly to the source file).

How to Participate on Github

Git It? How to use Git and Github

git github webdev

What's new in Bootstrap 5 and when Bootstrap 5 release date?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Random Password Generator Online

HTML Color Picker online | HEX Color Picker | RGB Color Picker

GitHub Pull Request in 100 Seconds - Git a FREE sticker 🔥

Learn how to submit your first pull request on GitHub in 100 seconds

Git and GitHub Crash Course || Git Tutorial for Beginners

Git and GitHub Crash Course || Git Tutorial for Beginners || Using Git Bash Commands. Git is a free and open source distributed version control system. Generating a new SSH key and adding it to the ssh-agent using git bash

Git vs GitHub

Git vs. GitHub will help you understand the differences between Git and GitHub. What is Git? What is GitHub? Commands in Git. We will have a look at the basics of Git and GitHub. We will see some accessible commands used in Git, followed by a hands-on demo that shows the implementation of those commands

Getting started with Git and GitHub

Getting started with Git and GitHub - The complete beginner’s guide to Git and GitHub. Git and GitHub basics for the curious and completely confused. What is Git? Git is a free, open-source version control software. What’s GitHub? GitHub is the social code-hosting platform that’s currently used more than any other.

Git Tutorial | Git Tutorial For Beginners | Git Basics For Beginners

The Git tutorial will help you understand everything essential to learn regarding Git. The basics of Git, and some of its basic commands. You'll understand some basic Git operations and some advanced operations. Then we shall see the basics of GitHub and the features of the same. Towards the end, we shall see a hands-on demo showing Git's work and the relationship between Git and GitHub.