From e84fde6d9b446eac239537544a9ebdd775740d28 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Tue, 28 Apr 2020 17:00:16 +0530 Subject: [PATCH 1/6] 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/6] 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 6019d192c4841860c141294a319a68210adbd5b3 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Fri, 1 May 2020 11:16:08 +0530 Subject: [PATCH 3/6] final addition --- log.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/log.txt b/log.txt index 7d3f8ef..4b86a45 100644 --- a/log.txt +++ b/log.txt @@ -1,12 +1,29 @@ +git config --global user.name "supriya-pd": sets the username +git config --global user.email "supriya13pd@gmail.com" +git config --list : lists all system settings + git clone URL: retrieve an entire repository from a hosted location via url +git init:initiailze an existing folder on local computer as git repo +git status:shows the changes since previous commmit + 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 +git merge branch-name:merges specified branch into currently active branch +git log: shows commits in that branch + +git remote add alias url: creates an alias for the given link + +git push alias branch : pushes the file in specified address if it's your repo + + From 5390335c633c0ddb406144a2c61b9c55059ba6cb Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Fri, 1 May 2020 16:38:10 +0530 Subject: [PATCH 4/6] Created Final_Answer.txt and Wrote part 1 of my answer --- Final_Answer.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 Final_Answer.txt diff --git a/Final_Answer.txt b/Final_Answer.txt new file mode 100644 index 0000000..416a125 --- /dev/null +++ b/Final_Answer.txt @@ -0,0 +1 @@ +The egg came first. \ No newline at end of file From 1775a6abece5292288c38051b4cc4da5c7167b70 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Fri, 1 May 2020 16:40:59 +0530 Subject: [PATCH 5/6] Created file --- Final_Answer.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 Final_Answer.txt diff --git a/Final_Answer.txt b/Final_Answer.txt new file mode 100644 index 0000000..e69de29 From b78d986bf70c2738d5437b5ea877ddd249df7de0 Mon Sep 17 00:00:00 2001 From: supriya-pd Date: Fri, 1 May 2020 16:43:22 +0530 Subject: [PATCH 6/6] Written answer --- Final_Answer.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Final_Answer.txt b/Final_Answer.txt index e69de29..09f5444 100644 --- a/Final_Answer.txt +++ b/Final_Answer.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