Good day. I make git pull original && git fetch, but when make git status I get :
On branch master
Your branch is ahead of 'origin/master' by 6 commits.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
I make git pull and get one commit from origin/master. Make git status and take:
On branch master
Your branch is ahead of 'origin/master' by 7 commits.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
I cannot make push to remote repo. What wrong I do?
Hello and welcome to the Community.
What happens when you try to push?
git push origin master
Hello. I get access denied. I can't push to origin master. I can push another branch and make pull request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It sounds like your repository has branch permissions enabled. For instance, there may be a rule that says developers cannot push directly to master. In this case, you could push to a feature branch and then create a pull request against master.
You can read more about branch permissions in the docs: https://confluence.atlassian.com/bitbucket/branch-permissions-385912271.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.