diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..1a61fbe Binary files /dev/null and b/.DS_Store differ diff --git a/Screenshots/.DS_Store b/Screenshots/.DS_Store new file mode 100644 index 0000000..4682b89 Binary files /dev/null and b/Screenshots/.DS_Store differ diff --git a/Screenshots/Task_1_Screenshots/1st.png b/Screenshots/Task_1_Screenshots/1st.png new file mode 100644 index 0000000..0734570 Binary files /dev/null and b/Screenshots/Task_1_Screenshots/1st.png differ diff --git a/Screenshots/Task_1_Screenshots/2nd.png b/Screenshots/Task_1_Screenshots/2nd.png new file mode 100644 index 0000000..65ce1b4 Binary files /dev/null and b/Screenshots/Task_1_Screenshots/2nd.png differ diff --git a/Screenshots/Task_1_Screenshots/3rd.png b/Screenshots/Task_1_Screenshots/3rd.png new file mode 100644 index 0000000..8eb4307 Binary files /dev/null and b/Screenshots/Task_1_Screenshots/3rd.png differ diff --git a/Screenshots/Task_2_Screenshots/1st.png b/Screenshots/Task_2_Screenshots/1st.png new file mode 100644 index 0000000..b7da740 Binary files /dev/null and b/Screenshots/Task_2_Screenshots/1st.png differ diff --git a/Screenshots/Task_2_Screenshots/2nd.png b/Screenshots/Task_2_Screenshots/2nd.png new file mode 100644 index 0000000..af538dc Binary files /dev/null and b/Screenshots/Task_2_Screenshots/2nd.png differ diff --git a/Screenshots/Task_2_Screenshots/3rd.png b/Screenshots/Task_2_Screenshots/3rd.png new file mode 100644 index 0000000..eb04bc7 Binary files /dev/null and b/Screenshots/Task_2_Screenshots/3rd.png differ diff --git a/Screenshots/Task_2_Screenshots/4th.png b/Screenshots/Task_2_Screenshots/4th.png new file mode 100644 index 0000000..d32f66e Binary files /dev/null and b/Screenshots/Task_2_Screenshots/4th.png differ diff --git a/Screenshots/gitFinalLog.png b/Screenshots/gitFinalLog.png new file mode 100644 index 0000000..7a70429 Binary files /dev/null and b/Screenshots/gitFinalLog.png differ diff --git a/commands.txt b/commands.txt new file mode 100644 index 0000000..41b8e3a --- /dev/null +++ b/commands.txt @@ -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. \ No newline at end of file diff --git a/commit1_Learner.txt b/commit1_Learner.txt new file mode 100644 index 0000000..92c10a3 --- /dev/null +++ b/commit1_Learner.txt @@ -0,0 +1 @@ +"commit1_Learner.txt" diff --git a/commit2_main.txt b/commit2_main.txt new file mode 100644 index 0000000..1ebf664 --- /dev/null +++ b/commit2_main.txt @@ -0,0 +1 @@ +"commit2_main.txt" diff --git a/commit3_Learner.txt b/commit3_Learner.txt new file mode 100644 index 0000000..5705315 --- /dev/null +++ b/commit3_Learner.txt @@ -0,0 +1,2 @@ +"commit3_Learner.txt" + diff --git a/neeraj.txt b/neeraj.txt new file mode 100644 index 0000000..e2220de --- /dev/null +++ b/neeraj.txt @@ -0,0 +1 @@ +Neeraj Kumar