Git - Working With Git
From EdWiki
Revision as of 10:00, 23 June 2015 by Jshankar (Talk | contribs) (1 revision imported: EdWiki -- From Shukra)
Working With Git
echo “I love Git” >> hello.txt git diff
- Shows changes we have made
git status
- Shows list of modified files
git add hello.txt git diff
- No changes shown as diff compares to the index
git diff HEAD
- Now can see the changes in working version
git status git commit -m ‘Second commit’