Yahya To DevOps

Logo

Cloud and DevOps Blogging Archive.

View the Project on GitHub yaya2devops/cloudblog

Git/GitHub Workflow in 80 seconds

This article began with the intention of demonstrating that Git and GitHub are not the same thing.

From Linux to today

Linux has revolutionized using only the command line, as evidenced by the fact that the user interface we have today as a default was only a feature available to administrators a decade ago and scarcely employed.
Mastering the command line is one of the most powerful things you can do.

Set up your Git Terminal

After installing Git

1- Get Git to know you

Run the following commands.

2- Get Secured (Public Key)

This step varies from repo hoster to another, but it is mostly the same. You must generate a public key from your local terminal and save it to your repository hoster.

Run the following commands.

Now copy the Pk using this command(windows):

Perfect, GO to your repo hoster and paste the SSH key, along with a descriptive name! For further details, you can consult the excellent GitLab documentation.

Note For an improved algorithm you can run the following commands then copy again.

Workflow

I’ve included a brief video describing the Git/GitHub workflow.
Please read the information provided below to make the most of it.

%[https://www.youtube.com/watch?v=qwO_X6h8rVM]

Prerequisite

Linux Commands

more Linux Commands

What is Git

Git is the most popular version control system. It keeps track of the changes you create to files so you can go back in time if required. It also aids collaborative efforts by enabling various people’s changes to be merged into a particular source code.

So What is a Git Repository

It’s simply a location where you keep and store your git belongings locally. Allowing the creation of a history over time.

Git commands

What’s GitHub ?

More Git Commands

Get Started Workflow

Big things happen of a simple start. Get your workflow on, create your inspiration, and show it off.

Bonus, each project should include a README file as a best practice.