I tried git push on master branch but it just shows that I have new pull request but when I click on new pull request it takes me to comparing changes but doesn't show any option to add those changes into repository. It only shows changes I made.
But when I entered command
git push origin main
all files where added to my repository.
but when I do
git push origin master
it doesn't work. Why is it? I heard they are replacing master with main. So in future are they going to remove master?
See Question&Answers more detail:os