I want upload my changes to branch default but save the changes in other branch.
My changes are not displayed.
git push main master
fatal: 'main' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
What happen with my git?
I want upload my changes to branch default but save the changes in other branch.
My changes are not displayed.
Hi @villelmo,
It seems like you're trying to push changes to a branch named "main" that does not exist in your local git repository or in the remote repository.
list your remote branches
if you find the repo try
This will push your changes to the default branch named "main" in the remote repository.
If there is no branch main, then need to create it,
Then add and commit, following with push
Get the same problem
Please make sure you have the correct access rights
and the repository exists.
it should go something like this