简体   繁体   中英

github: can no longer commit changes

I had everything working for over a month and all of a sudden I can no longer commit my changes.

I use netbeans ide and when I commit changes, in the popup I see the message:'No files available for commit.'

When I try to do a push to remote, I select my git repository location (same as usual) but when I click on Next to select local branch, there's nothing showing.

Has anyone encounter this problem ?

You may have switched branches, but not created a new 'local branch' for this remote branch.. Netbeans now does not know where to commit to. Also, as there is no local branche, you can not push local to remote. I had this problem with Netbeans before, after a few branche switches.

Try to switch to the correct branche (even if you only have one branche).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM