git int .
- Creat new repo with the current folder
git init REPO-NAME
- create new repository in a new folder REPO-NAME
git add FILE-NAME
git commit -m "Meaningfull commit message"
git show
git log
git log --graph --oneline --decorate --all
- nicer version
git config --global alias.YourAlias "command --with --options"
e.g.
git config --global alias.adog "log --graph --oneline --decorate --all"
Omitting --global creates the alias for the current repo only
git config user.name "USER'S NAME HERE"
git config user.email email@address.com
git config --global user.name "USER'S NAME HERE"
git config --global user.email email@address.com
git config --list
git config --global --list
git status