6.6 Git diff 1 Track the changes of two commits git diff <commit1-sha> <commit2-sha> 2 Track the changes of two branches git diff <branch 1> < branch 2> Read More »
6.5 Git stash git stash commands : 1 To stash(hide) the staged files git stash 2 To stash(hide) staged/untracked file git stash -u 3 To Git Stash Save Read More »
6.4 .gitignore git ignore : We can see with demo example: (i) Created gitignore folder, and moved in to it mkdir gitignore cd gitignore (ii) Created log Read More »
6.3 Git rm Remove files from Staging area (un staging) / un Tracking : git rm –cached <filename> Read More »
6.2 Git Status To see status git status To see status in short git status -s Types of Tracked files : (i) Modified Files : (ii) Un Modified Read More »
6.1 Git Add To add one file at a time Git add <file name> To add multiple files and folders git add <file1> <file2> <folder> To add all Read More »