git error failed to push some refs to remote

0 votes

When I use the git push origin master this happens.

gitbashscr

This is what my working directory and remote repository look like:

Screenshot of Windows file folder with these directories: .git, css, js. And these files: index.php, readme, setsu.php. The word "local" with an arrow points to the css-folder. Below, screenshot with heading "github", and a css-folder and index.php-file

Can someone explain to me why I can't push? and why is this happening?

Apr 30 in Git & GitHub by Kichu
• 15,810 points
166 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Git & GitHub

+2 votes
3 answers
+1 vote
1 answer

master -> master (non-fast-forward) error: failed to push some refs to 'git@github.com:abc70/new.git'

Hi@akhtar, To update your local repo to GitHub ...READ MORE

answered Feb 14, 2020 in Git & GitHub by MD
• 95,340 points
14,199 views
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

GIT commit Error while pushing to remote repository

Hi@Ajit, To update your local repo to GitHub, ...READ MORE

answered Jun 1, 2020 in Git & GitHub by MD
• 95,340 points
5,057 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,570 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP