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
.
Related Contents:
- Move source code from existing repo to new with keeping history
- Multiple working directories with Git?
- Make an existing Git branch track a remote branch?
- Modified files in a git branch are spilling over into another branch
- Git refusing to merge unrelated histories on rebase
- How to revert multiple git commits?
- Track all remote git branches as local branches
- Git – Pushing code to two remotes [duplicate]
- Git with large files
- Git keeps prompting me for a password
- Is there a way to cache https credentials for pushing commits?
- How can I have multiple working directories with Git?
- How do I fix a Git detached head?
- How do I make Git ignore file mode (chmod) changes?
- How can I merge two commits into one if I already started rebase?
- Rebasing a branch including all its children
- How to list all commits that changed a specific file?
- How to resolve “git did not exit cleanly (exit code 128)” error on TortoiseGit? [closed]
- Git pull error: unable to create temporary sha1 filename
- How do .gitignore exclusion rules actually work?
- Find merge commit which include a specific commit
- How can I get Git to follow symlinks?
- What is git-rerere and how does it work?
- How to inject a commit between some two arbitrary commits in the past?
- Link to the issue number on GitHub within a commit message
- How to git ignore subfolders / subdirectories?
- What is GIT_WORK_TREE, why have I never needed to set this ENV var, why now?
- Make ‘git diff’ ignore ^M
- Git push rejected “non-fast-forward”
- How to compare two different commits on the same branch in github?
- Can you change a file content during git commit?
- git merge: Removing files I want to keep!
- Locking binary files using git version control system
- Git is deleting an ignored file when i switch branches
- How to permanently delete a file stored in GIT? [duplicate]
- .gitignore ignore all files then recursively allow *.foo
- Gerrit error when Change-Id in commit messages are missing
- Making git diff –stat show full file path
- Git – finding the SHA1 of an individual file in the index
- Can’t seem to discard changes in Git
- In git, is there a way to show untracked stashed files without applying the stash?
- Difference between “git checkout ” and “git checkout -- “
- Switch Git branch without files checkout
- Which is the smarter git protocol, ssh or git(over ssh) or https protocol?
- Is there a way to use a Mercurial repository as Git submodule?
- See what’s in a stash without applying it [duplicate]
- Synchronizing a local Git repository with a remote one
- Why does ‘git commit’ not save my changes?
- Getting Git to Acknowledge Previously Moved Files
- Is it still possible to restore deleted untracked files in git?