I think you don’t have your permissions set up correctly for /var/www Change the ownership of the folder.
sudo chown -R **yourusername** /var/www
Related Posts:
- key_load_public: invalid format
- How can I switch to another branch in git?
- GitHub: Permission denied (publickey). fatal: Could not read from remote repository
- git – remote add origin vs remote set-url origin
- GitHub Error Message – Permission denied (publickey)
- Updating a local repository with changes from a GitHub repository
- Git push results in “Authentication Failed”
- github changes not staged for commit
- Git : fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists
- Git push results in “Authentication Failed”
- Download single files from GitHub
- How do I pull my project from github?
- Difference between Git and GitHub
- Could not open a connection to your authentication agent
- How to solve SSL certificate: self signed certificate when cloning repo from github?
- Could not open a connection to your authentication agent
- How to find my GitHub username so that I can be found via the URL?
- github website publish cannot publish unborn HEAD
- fatal: The current branch master has no upstream branch
- Create a tag in a GitHub repository
- Git: Could not resolve host github.com error while cloning remote repository in git
- How to pull a specific branch from Github
- GitHub: invalid username or password
- Trying to git pull with error: cannot open .git/FETCH_HEAD: Permission denied
- How do I update or sync a forked repository on GitHub?
- Can I share my private GitHub repository by link?
- There is no tracking information for the current branch
- Git push results in “Authentication Failed”
- Meaning of the GitHub message: push declined due to email privacy restrictions
- How to rename a directory/folder on GitHub website?
- “*** Please tell me who you are.” when using SSH key
- Download a single folder or directory from a GitHub repo
- Pull request vs Merge request
- Clone A Private Repository (Github)
- How do I rename a repository on GitHub?
- error: cannot lock ref.. ‘refs/tags’ exists; cannot create ‘refs/tags/
- Git: Installing Git in PATH with GitHub client for Windows
- ! [rejected] master -> master (fetch first)
- How to git add a whole folder
- My new Github page isn’t showing up
- How can I remove a commit on GitHub?
- Unity Collaborate vs GitHub
- “fatal: HttpRequestException encountered.” Error with GitHub/Bitbucket Repositories due to dropping TLS-1.0 support
- SourceTree keeps asking for Github password
- How do I set up Eclipse/EGit with GitHub?
- Repository size limits for GitHub.com
- How to change the license for a project at Github?
- Why I always Got Error “Push to origin/master was rejected”?
- Git lfs – “this exceeds GitHub’s file size limit of 100.00 MB”
- Github Windows ‘Failed to sync this branch’
- fatal: could not read Username for ‘https://github.com’: No such file or directory
- Github Authentication Failed – … GitHub does not provide shell access
- How to update a branch with master on GitHub
- How do I pull files from remote without overwriting local files?
- Git keeps prompting me for a password
- git push origin master does not work
- Can I arrange repositories into folders on Github?
- Delete forked repo from GitHub
- Found a swap file by the name
- How to discard local changes and pull latest from GitHub repository
- Specify an SSH key for git push for a given domain
- Differences between Commit, Commit and Push, Commit and Sync
- How can I delete all Git branches which have been merged?
- Git push hangs when pushing to Github?
- Git: Where exactly is the “working directory”?
- Create empty branch on GitHub
- Import existing source code to GitHub
- Git push requires username and password
- GIT and Development URL’s point to production
- Pull latest stable release via git [closed]
- Is it possible to checkout a beta version of WordPress via github?
- SSH git — How to pull a folder from repo, but not delete other directories & files on deployment server [closed]
- how can I create a WP offline environment before releasing the websites? [closed]
- How to use Git Revert
- How do I properly force a Git push?
- How to remove local (untracked) files from the current Git working tree
- How to modify existing, unpushed commit messages?
- Git pushing to remote branch
- How to revert a merge commit that’s already pushed to remote branch?
- How do I resolve git saying “Commit your changes or stash them before you can merge”?
- How do I rename both a Git local and remote branch name?
- How to cherry-pick multiple commits
- Another git process seems to be running in this repository
- rejected master -> master (non-fast-forward)
- Create a git patch from the uncommitted changes in the current working directory
- git push says “everything up-to-date” even though I have local changes
- git: fatal: Could not read from remote repository
- Why does git say “Pull is not possible because you have unmerged files”?
- Why should I use core.autocrlf=true in Git?
- How can I add a blank directory to a Git repository?
- Git Extensions: Win32 error 487: Couldn’t reserve space for cygwin’s heap, Win32 error 0
- Is it possible to pull just one file in Git?
- Completely cancel a rebase
- How do I “un-revert” a reverted Git commit?
- git push not send changes to remote git repository
- How to merge a specific commit in Git
- How to use Git and Dropbox together?
- What exactly does the “u” do? “git push -u origin master” vs “git push origin master”
- Add latest commit info on login footer using login_footer hook
- Display GitLab repositories of the logged in user on a page