Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using main instead of master #400

Open
StevenSU696 opened this issue Sep 15, 2024 · 2 comments
Open

Error using main instead of master #400

StevenSU696 opened this issue Sep 15, 2024 · 2 comments

Comments

@StevenSU696
Copy link

Error: Command failed: "C:\Users\Admin\Downloads\Git-it-Win-ia32\Git-it-Win-ia32\resources\app\assets\PortableGit\bin\git.exe " reflog show origin/master fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'

I had to use "main" instead of "master"

@keventhen4
Copy link

This error happened with me as well. The default branch seems to be "main," not "master". When I attempt to work around this by creating a new branch called "master," it is unable to push to the branch.

@keventhen4
Copy link

keventhen4 commented Nov 2, 2024

#318 should fix this issue, guess we'll need to wait until the merge is made. In the mean time you can work around this by going to terminal, creating a new branch using git branch master, calling git switch master to switch to the "master" branch, then calling git push origin master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants