본문 바로가기

Git

Initializing a repository

$ git init

// get everything ready to start git writing


1. make git directory: first_git_project

2. in cmd line

 - $ cd Documents/first_git_project

 - $ git init // things in this directory are things to be aware of

// "Hey Git, this is the directory you need to track of"

// .git file should be inside the repository because it can make tracking

ls -la .git //leave it alone..

'Git' 카테고리의 다른 글

How to view the commit log  (0) 2017.06.11
Performing first commit  (0) 2017.06.11
Installing Git  (0) 2017.06.11
About Distributed Version Control  (0) 2017.06.11
Understanding version control  (0) 2017.06.11