Skip to content

Git on Local Repos! #23922

Discussion options

You must be logged in to vote

I got the answer for this issue. I edited the config file of the real ‘master’ reop, folderOne with the following:

[receive]
denyCurrentBranch = false

Once I did that I was able to go to folderTwo and execute a

push origin master

Got the info from this site:
https://www.wikitechy.com/errors-and-fixes/sql/git-push-error-remote-rejected-master-master-branch-is-currently-checked-out

SOLVED

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants