Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions subramanian_answer.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ANSWER: EGG

REASON:
The eggs in general (as in question), not "chicken eggs" existed long before chickens were developed. Egg laying animals existed way before chickens came about. With regards to chicken egg, a theory suggests that the present day chicken evolved from a primitive species gradually. So, the answer is egg technically.
48 changes: 48 additions & 0 deletions subramanian_log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
Forking was done using the fork button in the given repository.

$ git clone "URL of forked repo"
This command clones the contents of the given repository in my account.

$ git checkout -b "branch-name"
Creates a new branch and moves into it.

$ vim log.txt
Opens the file in the editor.

$ git add "filename"
Adds the file to the branch.

$ git commit -m "message"
Commits the changes made.

$ git status
Displays the state of the working directory.

$ git checkout -b answer
Creates a new branch for answer and moves into it.

...After entering the answer in the text file, add and commit the changes.

$ git checkout "branch-name"
Moves to the first created branch.

$ git checkout -b reason
Creates a new branch for reason and moves into it.

...After entering the reason in the text file, add and commit the changes.

$ git merge answer
Merges branch along with the text file after resolving conflicts by adding and committing the file.

$ git merge reason
Merges branch along with the text file after resolving conflicts by adding and committing the file.

..Manually remove the confict markers in the file.

$ mv log.txt name_log.txt
Renames the file (exactly moves the contents to a newly named file)

..Commit the changes

$ git push -u origin branchname
Pushes the contents of the branch to the repo.