Git
- git config --global user.email "mchagoyan@chusd.org"
- Set the author's email for all future commits.
- git config --global user.name "Manuel Chagoyan"
- Set the author's name for all future commits.
- git config --global --list
- List all the global settings for the author.
- git init
- Initialize your Git repository in the working directory.
- git status
- Displays the current state of the working directory and staging area. Displays untracked, tracked, and
modified files.
- git add .
- Add all modified and new files to the staging area, before commit.
- git commit -m "a message"
- Saves the staged changes to the local repository along with a message.
- git log
- Displays the commit history along with a hash to identify it.
GitHub