Why am i not able to push files into My Git Repo - macos

I have this error.
remote: Permission to Karthik-B-06/react-starter.git denied to ArunTE.
fatal: unable to access 'https://github.com/Karthik-B-06/react-starter.git/': The requested URL returned error: 403

A 403 error ("Forbidden") likely means that you're not "allowed" to access the repository, likely because you aren't giving the correct credentials (you say you're trying to push to the repository; IIRC that does require credentials to do). Try some of the solutions in this other StackOverflow answer, providing your username and password, and see if they work.

Related

Read-only permissions for Bit-Bucket server

when trying to push to BitBucket I get the following error message:
fatal: remote error: Insufficient permissions
You cannot push to XX/repository. Pushing requires write access and your
access is read-only.
Our BitBucket server does not run through ssh-keys but rather more with my account credentials and the osxkeychain. Clone and pull works perfectly and I have the error since I installed xcode, however, uninstalling xcode does not help.
I appreciate any idea!

fatal: unable to access 'https://github.com/VSchool/event-workbook.git/': The requested URL returned error: 403

Can can tell me whats wrong and what's the solution I have tried everything nothing work .fatal: unable to access 'https://github.com/VSchool/event-workbook.git/': The requested URL returned error: 403
You should remove your git credentials by going to Control Panel\User Accounts\Credential Manager (if you are on Windows) and then sign in again when requested by the CLI.
Make sure you are in the .git/ directory.

On doing composer install getting error for private repo

When trying to clone my private repos ;
[RuntimeException]
Failed to clone git#github.com:myOrganization/myRepo.git via git, https, ssh protocols, aborting.
git://github.com/myOrganization/myRepo.git
Cloning into '/Users/yus/Desktop/websites/h-s/vendor/xx/cache-bundle/xx/CacheBundle'...
fatal: remote error:
Repository not found.
https://github.com/myOrganization/myRepo.git
Cloning into '/Users/yus/Desktop/websites/h-svendor/xx/cache-bundle/xx/CacheBundle'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/myOrganization/myRepo.git'
git#github.com:.myOrganization/myRepo.git
Cloning into '/Users/yus/Desktop/websites/h-s/vendor/xx/cache-bundle/xx/CacheBundle'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Does a manual git clone git#github.com:myOrganization/myRepo.git work for you?
As far as I can tell, you have not setup an oauth token, and the ssh key it is attempting to use is not valid for the repository you are trying to access. So there is no way for Composer to access your private repository.

SCM-Manager with Xcode

I have installed SCM-Manager. I would like to use it in the future for version control. The problem is, I cannot add it as a repository in Xcode, and I cannot clone it from command line:
$ git clone http://127.0.0.1:8080/scm/git/MyRepo
Cloning into 'MyRepo'...
Checking connectivity... done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
$
In Xcode I get this message:
fatal: unable to access 'http://127.0.0.1:8080/scm/git/MyRepo/': The requested URL returned error: 403
SCM server logs this
failed to read basic auth credentials
I have tried to install on different server, checkout with different user, nothing helped.
The first message means that you have cloned an empty repository. The message is only a warning and the repository is fully functional. A better way is to create the "bare" repository in SCM-Manager and add the remote reference to a local created repository:
git init MyRepo
git-remote add origin http://127.0.0.1:8080/scm/git/MyRepo/
The messages from Xcode sounds like missing credentials.

Cloning git private repo using Integrity Continuous Integration causing problem

I have successfully deployed Integrity on Heroku. I have been able to build script for public repo on git and the build runs successfully.
But running integrity for private repo gives me error as
error: The requested URL returned error: 401\nerror: The requested URL returned error: 401\nerror: The requested URL returned error: 401\n"
"error: pathspec 'origin/master' did not match any file(s) known to git.\n"
I am using the https version for cloning since heroku does not ssh cloning.
I think that for cloning private repo we need to provide password, so is there any way in Integrity to provide a password?
Or is there any other way for the same.
Firstly, you need to uncheck the "Public project" checkbox in Integrity project setting.
Secondly, you need to pass the password on the https url.
And that should work as it works for me :)

Resources