I’m new to Git and Github. I created a repository but am unable to add files and update it on the Terminal.
So far the only thing that has worked is $ git add .
When I try to do $ git push it says:
error: failed to push some refs to ‘git@github.com:emailadress’
When I try to do $ git pull it says:
You have not concluded your merge (MERGE_HEAD exists).
When I try to do $ git status it says:
Changes to be committed:
modified: .DS_Store
modified: README
How can I proceed?
After
git add .did you then commit your added files? Something along the lines ofgit commit -am "Initial commit"