This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11109|Reply: 0

[remote rejected] master -> master (pre-receive hook declined)

[Copy link]
Posted on 11/22/2019 2:13:54 PM | | |
git development problem! [remote rejected] master -> master (pre-receive hook declined)
Cause: Permission issue, the Develop role does not have remote access to master permission by default

Solution:

Solution 1: In the [Settings] of the project, you can set which branches are protected, by default, the [master] branch is in the protected state, and the person in the develop role cannot submit to the master branch, just check the [Developers can push] below.

Option 2: Use other branches to push in
Create another branch, push the project to the new branch, and then merge later




Previous:asp.net core registers for global Authorize authentication
Next:Asp.net MVC JsonResult ignores the property
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com