Trouble with pushing file to Git
Created by: chrlewis
I seem to have a common issue. All my commands work on Git, however I am unable to push, this is what I have done on terminal
CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ touch new.md CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ git status
On branch master
Untracked files:
(use "git add ..." to include in what will be committed)
new.md
nothing added to commit but untracked files present (use "git add" to track) CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ git status
On branch master
Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)
modified: HelloWorld.md
Untracked files:
(use "git add ..." to include in what will be committed)
new.md
no changes added to commit (use "git add" and/or "git commit -a") CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ git add . CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ git status
On branch master
Changes to be committed:
(use "git reset HEAD ..." to unstage)
modified: HelloWorld.md
new file: new.md
CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ git commit -m "updated HellowWorld and new markdown" [master e88f609] updated HellowWorld and new markdown 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 new.md CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ git status
On branch master
nothing to commit, working directory clean CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ git log commit e88f6096137213079e832a1d46ec5f8e038cb49c Author: Chris Lewis [email protected] Date: Wed Oct 22 22:24:52 2014 -0500
updated HellowWorld and new markdown
commit ce0687f405fb6d8b3341967f6d6926e6285fc952 Author: Chris Lewis [email protected] Date: Wed Oct 22 21:51:22 2014 -0500
Committing HellowWorld.d file
CHRLEWIS-M-J069:datasciencecoursera chrlewischrlewis$ git push origin master fatal: 'https//github.com/chrlewis/datasciencecoursera.git' 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.
You can go to https://github.com/chrlewis/datasciencecoursera and see that it is indeed a git repository, so why is my push not accepted? Any help appreciated, particularly how I check the access rights