GIT

GIT Branch

Git branch is an isolated set of changes within the repository. We can create N number branches and we can move changes from one branch to another branch. Eg: if we want to implement multiple features at a time, but all changes should be isolated. In that case, we can create different branches for each […]

GIT Branch Read More »

GIT Clone

Git clone is used to clone the remote repository to the local machine. Clone the repository Git clone <repo URL> This command will create a new folder with the repo name and then download all the information related to the repository (including commit information, branches, snapshots…etc) Clone the repository to the new folder Git clone

GIT Clone Read More »

How Git Rebase works

Rebase helps to change the history to branch source commit. Scenario: Let’s take branch “main” and the current sprint “Sprint1”. Planned to implement two features in the current sprint. Then, the developer will create a new branch from the main for each feature and make a commit. Later planned to postpone feature 2 to the

How Git Rebase works Read More »