Home » Git

Git stash

gitstash

you can save your current working dir into a temp storage. Do this: # save working dir (all uncommitted changes) in a temp storage git stash save after you do this, the working tree will be clean. to…

Read More »

Git branching

gitbranching

How to list branches? git branch #show all local branches. git branch -r #show all remote branches. git branch -a #show all local and remote branches. git show-branch #show branches and their commits. How to find out which…

Read More »

Git basics

gitbasics

Git Basics Set Up Name and Email Info First, you need to setup a default name and email. Else, git won’t let you commit. Everytime you commit, your user name and email is in part of the commit…

Read More »