[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Git Branching





On Sat, Mar 4, 2023 at 11:00 PM William Torrez Corea <willitc9888@gmail.com> wrote:
I am working with remotes, when i want push to the remote with this command appear the following error:

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.

I have the following branching:
  main
* master

I don't want to create a new branching, I want to push my advance to the main but it is impossible. This creates a new branching. 

This has nothing to do with Debian, but I think the command you want is:

git push origin main 

Reply to: