Let us first understand what is Git and later on will learn about GitHub. Git helps in collaborative coding and GitHub helps to host our code at open source platform. What is Git ? Git is a v...
Git Undo and Revert
‘revert’ is the command we use when we want to take a previous commit and add it as a new commit, keeping the log intact. First thing, we need to find the point we want to return ...
Working with GitHub
New GitHub Account Create a GitHub account to create your remote repositories. Now, create a new repo where we will be uploading our files from local repo. Note - Local repository (repo...
Git Branch & Merge PR's
In Git, a branch is a new/separate version of the main repository. Branches allow you to work on different parts of a project without impacting the main branch. When the work is c...
Basic Git Commands
Git Init To setup git tracking in a project use this command and you are good to go. git init Git now knows that it should watch the folder you initiated it on. Git creates a hidden fold...
Configuring Git for the first time
Installing Git Setup Choose your operating system and download the Git setup from official website here. After download follow the steps and install it. Don’t change any options, let it be on ...
- 1
- 1 / 1