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]