From e84fde6d9b446eac239537544a9ebdd775740d28 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 17:00:16 +0530 Subject: [PATCH 1/9] Created log.txt --- log.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 log.txt diff --git a/log.txt b/log.txt new file mode 100644 index 0000000..e69de29 From be84ed68164bec85cf4032d1580d408d84e9dec3 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 17:15:14 +0530 Subject: [PATCH 2/9] Wrote the commands in file --- log.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/log.txt b/log.txt index e69de29..7d3f8ef 100644 --- a/log.txt +++ b/log.txt @@ -0,0 +1,12 @@ +git clone URL: retrieve an entire repository from a hosted location via url +git branch firstname_lastname: creates a new branch +git branch: lists all branches and shows the active branch +git checkout firstnmae_lastname: switches from master branch(default branch) to firstname_lastname(now the active branch) +touch log.txt: creates this text file +git add log.txt: moves our file from workng copy to the staging area +git commit -m "Created file log.txt" : moves our file to the repository or saves this instant of time +with the string(message) provided to which we can come back to when wanted. +nano log.txt : opens the file for editting in nano text editor +CTrl+O : Save +Ctrl+ X: to exit nano + From bd933a1f77cfdd4615c00cf25a9542f9ddf81713 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 17:53:47 +0530 Subject: [PATCH 3/9] Wrote which came first --- ans.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 ans.txt diff --git a/ans.txt b/ans.txt new file mode 100644 index 0000000..416a125 --- /dev/null +++ b/ans.txt @@ -0,0 +1 @@ +The egg came first. \ No newline at end of file From ad620b194bc12352b7f86ba9f4110d2e24ddda01 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 17:55:16 +0530 Subject: [PATCH 4/9] Created why.txt --- why.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 why.txt diff --git a/why.txt b/why.txt new file mode 100644 index 0000000..e69de29 From 198574fd15d64d6934a62281ac98029c9eee2eaa Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 18:04:57 +0530 Subject: [PATCH 5/9] Created reason.txt --- reason.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 reason.txt diff --git a/reason.txt b/reason.txt new file mode 100644 index 0000000..e69de29 From 9b4d13229b59c8e53948af952da5caf1d8fa64f4 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 18:16:23 +0530 Subject: [PATCH 6/9] Added reason --- reason.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reason.txt b/reason.txt index e69de29..09f5444 100644 --- a/reason.txt +++ b/reason.txt @@ -0,0 +1,4 @@ +The expalnationto this dilemma lies in evolution.Although this is a famous paradox but we can say that we had +proto chickens before chickens who when mated laid an egg which turned out to be genetically mutated due to some +reason and we got chicks! So on phrasing a more correct question as which came first, chicken egg or chicken, +the answer would be chicken egg. \ No newline at end of file From 69a524b71d14a472a1ce8fb90840027f12721780 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 18:21:59 +0530 Subject: [PATCH 7/9] Deleted extra file why.txt --- why.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 why.txt diff --git a/why.txt b/why.txt deleted file mode 100644 index e69de29..0000000 From b00aeeff269dda8d5dca29f75e2571d94ea849c2 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 19:16:14 +0530 Subject: [PATCH 8/9] Updated commands --- log.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/log.txt b/log.txt index 7d3f8ef..3d0c751 100644 --- a/log.txt +++ b/log.txt @@ -9,4 +9,6 @@ with the string(message) provided to which we can come back to when wanted. nano log.txt : opens the file for editting in nano text editor CTrl+O : Save Ctrl+ X: to exit nano +git branch : lists all the branches +git merge breason :merges and commits the chnage in the current branch From 746d10b5d4d4a8e00b7fe4476b701366a0173959 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 21:20:13 +0530 Subject: [PATCH 9/9] Updated commands --- log.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/log.txt b/log.txt index 3d0c751..95716d8 100644 --- a/log.txt +++ b/log.txt @@ -11,4 +11,8 @@ CTrl+O : Save Ctrl+ X: to exit nano git branch : lists all the branches git merge breason :merges and commits the chnage in the current branch +git remote: lists the remotes( links basically)that you have created +git add remote name URL :creates remote +git push remote branch : in order to push your work on computer to your github account.If its someone else's repo, it +creates a pull request which need to be confirmed.