0% found this document useful (0 votes)
2 views

devops ex 1 52 2

The user added a remote repository on GitHub and attempted to push changes to it. Initially, the push failed due to authentication issues, but after completing authentication in the browser, the push was successful. The user successfully pushed a new branch to the remote repository after resolving the authentication problem.

Uploaded by

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

devops ex 1 52 2

The user added a remote repository on GitHub and attempted to push changes to it. Initially, the push failed due to authentication issues, but after completing authentication in the browser, the push was successful. The user successfully pushed a new branch to the remote repository after resolving the authentication problem.

Uploaded by

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

Student@WEBLAB-30 MINGW64 ~/JavaProgram (master)

$ git remote add origin https://github.com/Swetha05s/test.git

Student@WEBLAB-30 MINGW64 ~/JavaProgram (master)


$ git remote -v
origin https://github.com/Swetha05s/test.git (fetch)
origin https://github.com/Swetha05s/test.git (push)

Student@WEBLAB-30 MINGW64 ~/JavaProgram (master)


$ git fetch

Student@WEBLAB-30 MINGW64 ~/JavaProgram (master)


$ git push origin master --force
fatal: User cancelled dialog.
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/Swetha05s/test.git/'

Student@WEBLAB-30 MINGW64 ~/JavaProgram (master)


$ wq!
bash: wq!: command not found

Student@WEBLAB-30 MINGW64 ~/JavaProgram (master)


$ git push origin master --force
info: please complete authentication in your browser...
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 841 bytes | 841.00 KiB/s, done.
Total 6 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To https://github.com/Swetha05s/test.git
* [new branch] master -> master

You might also like