Skip to content

Basics of working with Git

Alexey Litvinov edited this page Jun 24, 2019 · 11 revisions

Welcome to the MyREPO wiki!


1. Download distributive

https://git-scm.com

2. Check version

$ git --version

(Example: git version 2.22.0.windows.1)

3. Configure global config

$ git config --global user.name "Name of user"

$ git config --global user.email "user@email.com"

4. Make directory for project

$ mkdir git-sample

5. Go to the folder

$ cd git-sample

6. Configure local config

$ git config user.name "Name of user"

$ git config user.email "user@email.com"