Home » Learn Git

Git stash


Git stash is temp storage where we can store some code and when we need that then we can use that code. Let’s take an example to suppose we are working on some code base and we have…

Read More »

Git branching


Git branching is the way by which we can split our code repository into different branches and it’s very useful when multiple developers work on the same code base. How to list branches? git branch #show all local…

Read More »

Git basics


Set up name and email info First, you need to set up a default name and email. Else, git won’t let you commit. Every time you commit, your user name and email is in part of the commit…

Read More »