From 9127083892c6fafc0f71c07c0f742e51983f33ed Mon Sep 17 00:00:00 2001 From: Diana Cretu Date: Wed, 19 Feb 2020 11:26:11 +0200 Subject: [PATCH 1/6] a: add line 1 Signed-off-by: Diana Cretu --- a | 1 + 1 file changed, 1 insertion(+) create mode 100644 a diff --git a/a b/a new file mode 100644 index 0000000..078da20 --- /dev/null +++ b/a @@ -0,0 +1 @@ +1.a From a69b872f28a998b3532b0cb950c676537c0b714c Mon Sep 17 00:00:00 2001 From: Diana Cretu Date: Wed, 19 Feb 2020 11:26:33 +0200 Subject: [PATCH 2/6] a: add second line Signed-off-by: Diana Cretu --- a | 1 + 1 file changed, 1 insertion(+) diff --git a/a b/a index 078da20..c41d426 100644 --- a/a +++ b/a @@ -1 +1,2 @@ 1.a +2.a From 37c43ac2f28c96ad4a1a05e66d97399e173d150f Mon Sep 17 00:00:00 2001 From: Diana Cretu Date: Wed, 19 Feb 2020 11:26:49 +0200 Subject: [PATCH 3/6] a: add third line Signed-off-by: Diana Cretu --- a | 1 + b | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 b diff --git a/a b/a index c41d426..b9e1534 100644 --- a/a +++ b/a @@ -1,2 +1,3 @@ 1.a 2.a +3.a diff --git a/b b/b new file mode 100644 index 0000000..a92d664 --- /dev/null +++ b/b @@ -0,0 +1,3 @@ +line 1 +line 2 +line 3 From 2bf8a27f7930d291ce0aecd8262bc91d42ac3cbb Mon Sep 17 00:00:00 2001 From: Diana Cretu Date: Wed, 19 Feb 2020 10:58:17 +0200 Subject: [PATCH 4/6] b: Add b file --- b | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/b b/b index a92d664..3744eab 100644 --- a/b +++ b/b @@ -1,3 +1,3 @@ -line 1 -line 2 -line 3 +1.b +2.b +3.b From e4877f6df753f4a460240000ecccbe8534098c53 Mon Sep 17 00:00:00 2001 From: Diana Cretu Date: Wed, 19 Feb 2020 10:58:29 +0200 Subject: [PATCH 5/6] c: Add c file --- c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 c diff --git a/c b/c new file mode 100644 index 0000000..e8d27c6 --- /dev/null +++ b/c @@ -0,0 +1,3 @@ +1.c +2.c +3.c From 14c25670dfb076c5d449d6a42522b330ff801ce6 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Tue, 18 Feb 2020 10:52:46 +0200 Subject: [PATCH 6/6] README: Add git tasks Signed-off-by: Daniel Baluta --- README | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README b/README index e69de29..79e0009 100644 --- a/README +++ b/README @@ -0,0 +1,25 @@ +Task 1 + +Split commit with subject 'abc: Add a b c files' +into 3 comits each commit adding just one file. + +This means will end up with 3 commits: + +a: Add a file +b: Add b file +c: Add c file + +Create a pull request with the commits + +Task 2 + +Split each of the 3 above commits into multiple commits +each commit adding just one line. + +For commit 'a: Add a file' you will end up with 3 more commits + +a: add line 1 +a: add line 2 +a: add line 3 + +Create a pull request with the commits