Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 596 Bytes

basics.md

File metadata and controls

20 lines (20 loc) · 596 Bytes

Git Command Basics

Basic Commands

  • Set Username

    • git config --global user.name "username"
  • Set Password

    • git config --global user.password
  • Set E-mail

    • git config --global user.email

Download Commands

  • git clone

    • Downloads repository as folder to current directory

Upload Commands

  • git add .

    • Add's all changed files to be commited
  • git commit -m "message"

    • Commits changes with "message" as description for GitHub
    • Use a Message!!!

  • git push

    • pushes changes to GitHub
    • Do not forget!!