0% found this document useful (0 votes)
12 views4 pages

Accelerate DevOps with GitHub Guide

The document outlines a hands-on lab exercise for learning Git, including steps to set up a GitHub account, create and manage repositories, and perform branching and merging. It also promotes Cloud Train's services to help individuals accelerate their career growth, regardless of their experience level. For more information, contact details are provided for inquiries.

Uploaded by

Sayyan Shaikh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

Accelerate DevOps with GitHub Guide

The document outlines a hands-on lab exercise for learning Git, including steps to set up a GitHub account, create and manage repositories, and perform branching and merging. It also promotes Cloud Train's services to help individuals accelerate their career growth, regardless of their experience level. For more information, contact details are provided for inquiries.

Uploaded by

Sayyan Shaikh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CLOUD TRAIN

ACCELERATE YOUR GROWTH

Git
Lab
Cloud Train
Accelerate Your Career Growth

Follow the steps to complete your


hands-on lab exercises on Git

[Link]
CLOUD TRAIN
ACCELERATE YOUR GROWTH

Exercise 1
1. Setup a GitHub account and create
one repository inside it named
‘devopsdemo’
2. Clone this repo ‘devopsdemo’ to
your GCP compute instance
3. cd to the repo directory you just
cloned
4. Check the branch name you are
checked out currently. It should be
main by default.
5. Add two files using vim editor as
below:
a. [Link]
b. [Link]
6. Check the git status
7. Add and Commit the changes to the
repo
8. Push the changes to the repo
‘devopsdemo’ to github account

[Link]
CLOUD TRAIN
ACCELERATE YOUR GROWTH

Exercise 2
1. cd to the repo directory
‘devopsdemo’ on the server
2. Create a new branch with name
feature1
3. Checkout to feature1 branch
4. Add two files using vim editor as
below:
a. [Link]
b. [Link]
5. Check status, add files, commit and
push to github account
6. Merge the changes in feature1
branch to master branch
7. Check if all changes from feature1
branch are available under master
branch after merge.

[Link]
Accelerate your career growth
We can help you accelerate your career
growth to move ahead faster and achieve
your professional goals quicker.

Whether
You're already having years of
experience in the industry OR
You're coming from a different
industry & want to switch job profile
OR
You're just getting started.

Let us help you.

Got
queries
or need
CLOUD TRAIN more
info?
ACCELERATE YOUR GROWTH

Contact us
TO ACCELERATE YOUR CAREER GROWTH

For questions and more details, please


visit [Link] or
email at join@[Link]
WhatsApp us >>

[Link]

You might also like