Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 476 Bytes

git-command-basic.md

File metadata and controls

42 lines (32 loc) · 476 Bytes

Git Basic Command

  • Set your username:
        git config --global user.name "FIRST_NAME LAST_NAME"
  • Set your email address:
        git config --global user.email "MY_NAME@example.com"

Basic command section 1

    git --version
    git status
    git config --list
    git init
    git add fileName/.

unstage file

    git rm --cached fileName/.
    git commit -m "First commit"