Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
Post image 10
Post image 11
Post image 12
Post image 13
Post image 14
Post image 15
Post image 16
Post image 17
Post image 18
Post image 19
1 / 19
0

Basics of Git - Part 2

DEV Community·Ankith Deegoju·18 days ago
#1G2T4u8f
Reading 0:00
15s threshold

In this blog we will explore the concept of - Branches Push, pull, merge Pull Request and how can we contribute to any repo. To understand above concepts we will follow a hands on appraoch of doing things - Repo - Repository - Folder in Git. Methods to access an existing repo - Directly download the repo from GitHub and open it in our terminal We can fork the repo using fork button on github - This creates a own copy of the repo under your account. We can use git clone command to clone the repo locally. Command - git clone “Add repo-link here” We will understand the concepts of cloning, remote conenction establishment, branching through the below steps. Let’s create a new repo in GitHub. I have created a test_repo. We get somthing like this - Copy the link here. Use the git clone command to clone the repo locally - Let’s add a few files into it and we will also use some of the commands from our previous blog to add the files into staging, commit the changes, then push the code into GitHub.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More