How to switch git branches

In this article, I show you how you can switch git branches while working on git. These are very often you have to do while working on git.     Suppose you have two branches one for development where as a developer you have been working and one is the main branch where everyone inIn this article, I show you how you can switch git branches while working on git. These are very often you have to do while working on git.     Suppose you have two branches one for development where as a developer you have been working and one is the main branch where everyone in […]

Read More…

Posted in git

Top 10 Most important git Commands

In this article, we learn some most important git commands that every developer should know if their organization is using GitHub.     Most important git commands Here is the list of some most important git commands which can be used to maintain the code base-   1. git init This command initializes a newIn this article, we learn some most important git commands that every developer should know if their organization is using GitHub.     Most important git commands Here is the list of some most important git commands which can be used to maintain the code base-   1. git init This command initializes a new […]

Read More…

Posted in git

Difference between Git and GitHub

In this article, I will explain about what the key difference between git and GitHub. So let’s first understand both git and GitHub.     What is git and how it works Git is a version control system that is used to track changes to files and manage projects with multiple developers. Here is anIn this article, I will explain about what the key difference between git and GitHub. So let’s first understand both git and GitHub.     What is git and how it works Git is a version control system that is used to track changes to files and manage projects with multiple developers. Here is an […]

Read More…

Posted in git

gitignore file – How to add gitignore file to repo

In this article, we discuss the gitignore file in your GitHub repo. Also, how you can create the gitignore file and which file and folder you should include in your gitignore file.     What is gitignore file? The purpose of a .gitignore file is to tell GitHub which files or folders to ignore whenIn this article, we discuss the gitignore file in your GitHub repo. Also, how you can create the gitignore file and which file and folder you should include in your gitignore file.     What is gitignore file? The purpose of a .gitignore file is to tell GitHub which files or folders to ignore when […]

Read More…

Posted in git

How to clone a git repository

In this article, we understand what is git repo (repository) is and how to clone a git repository using the git command. So let’s start first with what is a git repo.   What is Git repo? A Repo or repository is a collection of files that are stored and managed on GitHub. Repositories canIn this article, we understand what is git repo (repository) is and how to clone a git repository using the git command. So let’s start first with what is a git repo.   What is Git repo? A Repo or repository is a collection of files that are stored and managed on GitHub. Repositories can […]

Read More…

Posted in git

Git undo a commit

Are you new to the Git world? Or earlier working on TFS to maintain the code base now moved to git? If you are working on some code piece and something not going as expected and now you want to roll back or undo a commit. In this article, I show you how to useAre you new to the Git world? Or earlier working on TFS to maintain the code base now moved to git? If you are working on some code piece and something not going as expected and now you want to roll back or undo a commit. In this article, I show you how to use […]

Read More…

Posted in git