Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the git console and navigate to the location that you want manage with git
  2. Type git init - this will create the git database in that directory
  3. Type git add * . - this will add all the files in the current directory and sub directories (recursively) the local git db, the files remain in staged state until committed 
  4. Type git commit -m <some message in single quotes> - this move the files from the staged state to commited

...