I was having the same issue and then smacked myself in the head because I hadn’t actually added my project files.
git add -A
git commit -am "message"
git push origin master
More Related Contents:
- How can I remove a commit on GitHub? [duplicate]
- Git commands that could break/rewrite the history
- Git submodules in .gitmodules not initialized
- git ahead/behind info between master and branch?
- GitHub “fatal: remote origin already exists”
- Github: error cloning my private repository
- How to update a pull request from forked repo?
- TortoiseGit save user authentication / credentials
- Why is “origin/HEAD” shown when running “git branch -r”?
- Create a tag in a GitHub repository
- There isn’t anything to compare. Nothing to compare, branches are entirely different commit histories
- Copy a git repo without history
- Create a GitHub repository from command line
- How to remove big (>100MB) file from a GitHub repository and push successfully?
- Remove directory from remote repository after adding them to .gitignore
- GitHub – fatal: could not read Username for ‘https://github.com’: No such file or directory
- How to change my Git username in terminal?
- How do I get git to default to ssh and not https for new repositories
- What is “git remote add …” and “git push origin master”?
- How to sync changes on my local server with the ones on the remote one without commiting?
- Why are connections to GitHub over SSH throwing an error “Warning: Remote Host Identification Has Changed”?
- Squash all my commits into one for GitHub pull request [duplicate]
- Permission denied error on Github Push
- “Cannot spawn ssh” when connecting to Github, but ssh -T [email protected] works?
- How to pull a pull request quickly locally
- Git – How to auto push changes in a directory to another branch
- How do I fix “remote: fatal error in commit_refs” errors trying to push with Git?
- Git: How to make outer repository and embedded repository work as common/standalone repository?
- Git push error: RPC failed; result=56, HTTP code = 200 fatal: The remote end hung up unexpectedly fatal
- How to push different local Git branches to Heroku/master