Skip to content

Latest commit

 

History

History
55 lines (31 loc) · 675 Bytes

README.md

File metadata and controls

55 lines (31 loc) · 675 Bytes
  1. Download and install git from git-scm
  2. Check git version
git --version
  1. Let Git know who you are
git config --global user.name "your name"
git config --gloabal user.email "your email"


4. Check the status of files/project
```bash
git status


# the short way
git status  --short

# ?? - Untracked files
# A - Files added to stage
# M - Modified files
# D - Deleted files
  1. Add a file to the staging enviroment
git add <"filename">
# or 
git add .
  1. Committing our project files
git commit -m "our message"

# or we can commit and add commands together

git commit -am "your message"