Журнал лабораторных работ

Содержание

Журнал

Понедельник (12/17/18)

/dev/pts/2
14:27:28
$ls
hello.md  LICENSE  README.md
прошло 15 минут
14:43:24
$vim hello.md
14:45:31
$git diff
diff --git a/hello.md b/hello.md
index 98ad2f9..dd65a6a 100644
--- a/hello.md
+++ b/hello.md
@@ -1,7 +1,11 @@
+## Introduction
+
+Introduction to the hello/goodbye topic.
+
 ## Hello
 Hello **world**
 ## Goodbye
-Goodbye world
+Goodbye **world**
14:45:33
$git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)
        modified:   hello.md
no changes added to commit (use "git add" and/or "git commit -a")
14:46:07
$git add -p
diff --git a/hello.md b/hello.md
index 98ad2f9..dd65a6a 100644
--- a/hello.md
+++ b/hello.md
@@ -1,7 +1,11 @@
+## Introduction
+
+Introduction to the hello/goodbye topic.
+
 ## Hello
...
 Hello **world**
 ## Goodbye
Stage this hunk [y,n,q,a,d,/,j,J,g,e,?]? n
@@ -1,7 +5,7 @@
 ## Hello
 Hello **world**
 ## Goodbye
-Goodbye world
+Goodbye **world**
Stage this hunk [y,n,q,a,d,/,K,g,e,?]? y
14:48:38
$git commit -m 'goodbye world formatting (fixes #1)'
[master 33d7de2] goodbye world formatting (fixes #1)
 1 file changed, 1 insertion(+), 1 deletion(-)
14:50:29
$git commit -m 'added introduction'
[master 2881368] added introduction
 1 file changed, 4 insertions(+)
14:50:36
$git push
Username for 'https://github.com': sl-2018-12
Password for 'https://sl-2018-12@github.com':
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6