Closed yashinomi closed 3 years ago
とりあえずリポジトリを立てる
$ mkdir workdir
$ cd workdir
$ git init
Initialized empty Git repository in /PathToWorkspace/workdir/.git/
$ 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"
$ 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
リポジトリを新規作成、3回コミット