Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8199461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:10:22+00:00 2026-06-07T06:10:22+00:00

I just installed netbeans and connect to my git repository throught ssh. Everything works

  • 0

I just installed netbeans and connect to my git repository throught ssh.

Everything works fine except pushing master branch. Every time I commit some changes on master branch and trying to push branch I get this popup:

There were errors during the push.
Open output to see more details.

and the details are

==[IDE]== Jun 30, 2012 4:29:42 PM Pushing finished.
==[IDE]== Jun 30, 2012 4:32:38 PM Pushing
git push ssh://50.57.180.187:22/var/www/netbeans +refs/heads/master:refs/heads/master
Remote Repository Updates
Branch : master
Old Id : cc6de40b3236047b0212e318f9977a7b75395177
New Id : fe8f3af403524ba5731fdf1e0b8773c4ef223840
Result : REJECTED_OTHER_REASON

Local Repository Updates
Branch : origin/master
Old Id : cc6de40b3236047b0212e318f9977a7b75395177
New Id : fe8f3af403524ba5731fdf1e0b8773c4ef223840
Result : NOT_ATTEMPTED

==[IDE]== Jun 30, 2012 4:32:43 PM Pushing finished.

But with other branches everything works great.
Am I doing something wrong?

EDIT: Remote repo was not bare, more info here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T06:10:25+00:00Added an answer on June 7, 2026 at 6:10 am

    You must be trying to push a new commit to replace an existing commit already push (“history rewritten”)

    You need to do a git push --force, or select a similar option (if supported) in the git push wizard dialog of NetBeans.
    And that suppose that the “push --force” is authorized on the remote repo (which isn’t always the case).
    If other have already pulled from the remote repo, rewriting its history is generally not a good idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just Installed android 2.2 as a NetBeans 6.8 plugin, it works but I'm
I just installed mysql server 5.5.20 on my OS X Lion and everything works
Just installed EE everything seems clear however I can't seem to find a solution
I just installed NetBeans, and want to try it out. Some context tips (popup
I just installed NetBeans and the Android SDK following the instructions here . I
I've just installed NetBeans IDE 7.1 full with J2ME SDK. When I started any
I just installed NetBeans on my local system. I want to create a Web
Because I need a free and reliable XML editor, I just installed the Netbeans
I just installed Windows 7 with NetBeans 6.5.1 and JDK 6u16. I've checked out
I just downloaded and installed the newest Netbeans IDE 7.0 Java EE edition (with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.