Studyon Minte9.com
Git




First project



* Testgit project
	
	Git Bash

        $ mkdir testgit/ 
		// create new directory

	$ touch test.htm 
		// new file

	$ cd d:
	$ cd /developments/testgit/

	$ git init
		// create repository
		// empty directory not shown (when git status) /images

	$ git add test.htm
		// add file

	$ git add . 
		// add everything in the current directory
	$ git reset test.htm
		// remove it from staging area

	$ git commit -m "I added test.htm"
		// commit file

	$ git add "*.txt"
		// add file (wild card) 

	$ git commit -m "I've added all .txt files"

	$ git log
		// show logs


http://try.github.io/levels/1/challenges/1