Skip to content

Arunesh's Git Task #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
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
22 changes: 22 additions & 0 deletions Arunesh_log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Git commands used :-

1.git clone <remote repo url> - will clone the repo to local storage in the given directory.

2.git checkout -b <branchname> - will create a new branch and switched to this branch.

3.touch log.txt - this is isn't a git command but a Termianal command to create a new file in the git repo.

4.git status - to check the change we made recently.

5.git add log.txt - this is to stage the change we made .

6.git commit -m " msg here " - to commit the change we made along with a small description about it.

7.git remote set-url origin <remote repo url where we need to push our local repo> - will set the url where we are going to push or fetch.

8.git push - will push the change we made and committed to the remote repo.

Error! fatal: The current branch <branch name> has no upstream branch.

9.git push --set-upstream origin <branch name> - To push the current branch and set the remote as upstream .

14 changes: 14 additions & 0 deletions answer.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Chicken

Do you have any idea about how humans came into the world..?

Well, you can say its evolution of a monkey or its family.

Then from where the monkey came..?

We don't have any answer .

Similarly we need believe in chicken's origin. We have idea of origin of egg . It came due
To mating of rooster and a hen. As monkey also undergoes sexual reproduction.

PS: sorry I don't have any creative answers
22 changes: 22 additions & 0 deletions log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Git commands used :-

1.git clone <remote repo url> - will clone the repo to local storage in the given directory.

2.git checkout -b <branchname> - will create a new branch and switched to this branch.

3.touch log.txt - this is isn't a git command but a Termianal command to create a new file in the git repo.

4.git status - to check the change we made recently.

5.git add log.txt - this is to stage the change we made .

6.git commit -m " msg here " - to commit the change we made along with a small description about it.

7.git remote set-url origin <remote repo url where we need to push our local repo> - will set the url where we are going to push or fetch.

8.git push - will push the change we made and committed to the remote repo.

Error! fatal: The current branch <branch name> has no upstream branch.

9.git push --set-upstream origin <branch name> - To push the current branch and set the remote as upstream .