Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
3.8k views
by The go-to Tester (218 points)
edited by

I want to push my selenium webdriver project to github. I am getting error at the time of commit

The error screen is

2 Answers

3 like 0 dislike
by Expert (572 points)
selected by
 
Best answer
You are getting this error becuase your remote branch 'master' does not exist now. It existed earlier. It might have got deleted by mistake.

But your commit is done. So either you can unset upstream by using --unset-upstream command or simply push your current branch.

This is a newly added feature in Git. What you are seeing is a warning.
1 like 0 dislike
by
You haven't pushed your local branch to the remote repository that is the reason for the error here. You are trying to push your project to a branch which is either deleted or never created by you.

Git unset upstream will just remove all the information of the branch from your remote repository if present.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...