Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 379 Bytes

git-basics.md

File metadata and controls

11 lines (6 loc) · 379 Bytes

Basic Git Commands

1- initiates git in the current directory: git init

2- add remote reposiory: git remote add origin

3- creates a git repo from given address (get the address from your git-server): git clone

4- adds (stages) file.txt to the git: git add <file_name>

5- adds (stages) all new modifications, deletions to the git: git add *