0% found this document useful (0 votes)
9 views2 pages

5

Program

Uploaded by

spurti.dyampura
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

5

Program

Uploaded by

spurti.dyampura
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop

$ mkdir sh

mkdir: cannot create directory ‘sh’: File exists

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop

$ mkdir shree

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop

$ cd shree

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree

$ touch sh.txt

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree

$ git add sh.txt

fatal: not a git repository (or any of the parent directories): .git

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree

$ git init

Initialized empty Git repository in C:/Users/Admin/Desktop/shree/.git/

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree (master)

$ git add sh.txt

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree (master)

$ git fetch https://github.com/NotHarshhaa/DevOps-Projects

remote: Enumerating objects: 1387, done.

remote: Counting objects: 100% (282/282), done.

remote: Compressing objects: 100% (235/235), done.

remote: Total 1387 (delta 41), reused 248 (delta 32), pack-reused 1105 (from 1)

Receiving objects: 100% (1387/1387), 18.61 MiB | 1.23 MiB/s, done.


Resolving deltas: 100% (155/155), done.

From https://github.com/NotHarshhaa/DevOps-Projects

* branch HEAD -> FETCH_HEAD

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree (master)

$ git config --global user.name shree

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree (master)

$ git config --global user.email [email protected]

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree (master)

$ git fetch https://github.com/NotHarshhaa/DevOps-Projects

From https://github.com/NotHarshhaa/DevOps-Projects

* branch HEAD -> FETCH_HEAD

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree (master)

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree (master)

$ git fetch https://github.com/NotHarshhaa/DevOps-Projects

From https://github.com/NotHarshhaa/DevOps-Projects

* branch HEAD -> FETCH_HEAD

Admin@DESKTOP-83VR3K7 MINGW64 ~/Desktop/shree (master)

$ git remote add upstream https://github.com/NotHarshhaa/DevOps-Projects

$ git fetch upstream

From https://github.com/NotHarshhaa/DevOps-Projects

* [new branch] master -> upstream/master

You might also like