yashinomi / sysdev2020_advanced

0 stars 0 forks source link

Class 3. Exercise 1. log #6

Closed yashinomi closed 3 years ago

yashinomi commented 3 years ago

リポジトリを新規作成、3回コミット

yashinomi commented 3 years ago

とりあえずリポジトリを立てる

$ mkdir workdir
$ cd workdir
$ git init
Initialized empty Git repository in /PathToWorkspace/workdir/.git/
yashinomi commented 3 years ago
$ ls

テキストファイルを作る。

$ echo hello > hello_world.txt
$ git add hello_world.txt
$ git commit -m "test"

readmeを作ってみる。

$ echo "this is a demo" > readme.md 
$ git add readme.md 
$ git commit -m "test"
yashinomi commented 3 years ago
$ git log
commit d4bc849da5da155de027a4ed6d5ae4e1c05e658d (HEAD -> master)
Author: 
Date:   Fri Oct 23 14:37:15 2020 +0900

    init

commit 7d5589d75575792483da4937cea26b81a057ac40
Author:
Date:   Fri Oct 23 14:36:44 2020 +0900

    test