Did you init a local Git repository, into which this remote is supposed to be added?
Does your local directory have a .git
folder?
Try git init
.
More Related Contents:
- How to fetch all Git branches
- Where do the settings in my Git configuration come from?
- How to configure Git for using it with Dropbox?
- Git Init in home directory – now unable to commit changes
- Does github remember commit IDs?
- configure Git to accept a particular self-signed server certificate for a particular https remote
- git add * (asterisk) vs git add . (period)
- How do I programmatically determine if there are uncommitted changes?
- git difftool, open all diff files immediately, not in serial
- Prevent commits in master branch
- git: Apply changes introduced by commit in one repo to another repo
- git hooks : is there a clone hook?
- Having Trouble Switching Github accounts on terminal
- How to compare two different commits on the same branch in github?
- Differences between “git pull” commands when pulling from origin?
- git refname ‘origin/master’ is ambiguous
- How to identify conflicting commits by hash during git rebase?
- Switch Git branch without files checkout
- git commit signing failed: secret key not available
- How to git reset –hard a subdirectory
- Git pushing to remote GitHub repository as wrong user
- Error: Cannot pull with rebase: You have unstaged changes
- Git rebase branch with all parent branches (or dependent sub-branches)
- How do I remove a single file from the staging area (undo git add)?
- How do I run git log to see changes only for a specific branch?
- How to resolve git’s “not something we can merge” error
- List Git commits not pushed to the origin yet [duplicate]
- Jenkins Git plugin detached HEAD
- git merging branches in a bare repository
- Can tags be automatically moved after a git filter-branch and rebase?