DEV Community

Discussion on: Git for Developers: Common Errors and How to Resolve Them 💻🔍

Collapse
 
villelmo profile image
William Torrez
 main
* master
  remotes/pb/main
  remotes/pb/master

Enter fullscreen mode Exit fullscreen mode
Thread Thread
 
abdelrahmanallam profile image
Abdelrahman Mohamed Allam

it should go something like this

git push origin master:master main:main
Enter fullscreen mode Exit fullscreen mode