Skip to content
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

OSOC Task by 053_NeerajKumar #31

Open
wants to merge 7 commits into
base: main
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
Binary file added .DS_Store
Binary file not shown.
Binary file added Screenshots/.DS_Store
Binary file not shown.
Binary file added Screenshots/Task_1_Screenshots/1st.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/Task_1_Screenshots/2nd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/Task_1_Screenshots/3rd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/Task_2_Screenshots/1st.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/Task_2_Screenshots/2nd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/Task_2_Screenshots/3rd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/Task_2_Screenshots/4th.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshots/gitFinalLog.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions commands.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
1) i) git config –global user.name “[name]”
ii) git config –global user.email “[email address]”
This command sets the author name and email address respectively to be used with commits.

2) git init [repository name] - This command is used to start a new repository.

3) git clone [url] - This command is used to obtain a repository from an existing URL to local machine.

4) i) git add [filename] - This command adds passed file to the staging area.
ii) git add . - This command adds all files to the staging area.

5) git commit -m “[commit message]” - This command records or snapshots the file permanently in the version history.

6) git diff - This command shows the file differences which are not yet staged.

7) git status - This command lists all the files that have to be committed.

8) i) git branch - This command lists all the local branches in the current repository.
ii) git branch [branch name] - This command creates a new branch.

9) git log - This command is used to list the version history for the current branch.

10) i) git checkout [branch name] - This command is used to switch from one branch to another.
ii) git checkout -b [branch name] - This command creates a new branch and also switches to it.
1 change: 1 addition & 0 deletions commit1_Learner.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"commit1_Learner.txt"
1 change: 1 addition & 0 deletions commit2_main.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"commit2_main.txt"
2 changes: 2 additions & 0 deletions commit3_Learner.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"commit3_Learner.txt"

1 change: 1 addition & 0 deletions neeraj.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Neeraj Kumar