0. login( git config --global [Link]"vatsgoyal27@gmail.
com")
( git config --global [Link]"vatsgoyal27")
Confirm. = Empty
1. Open the file (cd, pwd, mkdir)
Confirm. = *Using ls Command* the file names should show
2. Initialize the folder (git init)
Confirm. = Initialized empty Git repository in C:/Users/Vatsal Goyal/C26/.git/
3. Add the files (git add -A)
Confirm. = warning: LF will be replaced by CRLF in *file Name*.
The file will have its original line endings in your working directory
(And so on for each file)
4. Create repository on GitHub (do not add readme)
Confirm. = New page will open
[Link] the remote connection( git remote add *name* *the link given by the repo
on GitHub*)
Confirm. = Repeat step twice. Second time:
fatal: remote *name* already exists.
5.25. Push the files(git push -u *name* main)
Confirm. = Branch 'main' set up to track remote branch 'main' from 'merge'.
5.5. Commit the changes( git commit -m"The first Commit")
Confirm. = [master (root-commit) 7bd3032] The first Commit
3 files changed, 245 insertions(+)
create mode 100644 [Link]
create mode 100644 [Link]
create mode 100644 [Link]
(Almost same for all the files)
______________________________
1. Check differences and changes(git diff --staged)
Confirm. git
2.
______________________________
[Link] the gitHub files to the repository by master(git push -u github master)
Confirm. =
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 4 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 2.65 KiB | 678.00 KiB/s, done.
Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
To [Link]
* [new branch] master -> master
Branch 'master' set up to track remote branch 'master' from 'github'.
(Almost the same. Look for the last line which is the most important)
[Link] and Paste the link in step 5 on google. This opens the repository u created!
Confirm. = The site will open and the files u added will be listed
8. Copy and send the link to WhiteHat.
9033098857