Yes I tried all the commands again while in devops. Please see below:
[ankitapurohit24408@cxln5 ~]$ cd devops
[ankitapurohit24408@cxln5 devops]$ git status
On branch master
nothing to commit, working directory clean
[ankitapurohit24408@cxln5 devops]$ echo âprint(âAdding new line to itâ)â >> helloworld.py
[ankitapurohit24408@cxln5 devops]$ cat helloworld.py
print(âHello Worldâ)
print(âI am learning gitâ)
print(âAdding: updating the file so that I can push it to git hub repo.â)
print(âAdding another line to itâ)
print(âAdding another line to itâ)
print(âAdding new line to itâ)
[ankitapurohit24408@cxln5 devops]$ git add helloworld.py
[ankitapurohit24408@cxln5 devops]$ git status
On branch master
Changes to be committed:
(use âgit reset HEAD âŚâ to unstage)
modified: helloworld.py
[ankitapurohit24408@cxln5 devops]$ git commit -m âTrying to push3â helloworld.py
[master c60923a] Trying to push3
1 file changed, 1 insertion(+)
[ankitapurohit24408@cxln5 devops]$ git push -u origin master
fatal: âoriginâ does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
[ankitapurohit24408@cxln5 devops]$ git pull branch master
fatal: âbranchâ does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
[ankitapurohit24408@cxln5 devops]$ git push -u origin master
fatal: âoriginâ does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Please advise.
Thanks.