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

  • SEARCH
  • Home
  • 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 6742427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:50:31+00:00 2026-05-26T11:50:31+00:00

Whenever I try to commit a file EGit says no files to commit, though

  • 0

Whenever I try to commit a file EGit says “no files to commit”, though the file is staged for commit according to its icon in Project Explorer (see the image)

enter image description here

This happens to any file in my project. What am I doing wrong? I’m using EGit 0.11.1.

EDIT:

Updated to 1.2.0 and it worked, thank you all!

  • 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-05-26T11:50:32+00:00Added an answer on May 26, 2026 at 11:50 am

    As mentioned by the OP asd, EGit0.11.1 is not the latest version:
    The Egit 1.2-SNAPSHOT (available through the nightly update site) solves the problem.

    In general EGit promises to support at least the latest two Eclipse releases (as of this writing in Oct 2011 this is 3.6.2 “Helios SR2” and 3.7.1 “Indigo SR1”).


    For reference, my original answer was:

    It is possible, as shown in bug 341679 to checkout a remote branch (or a tag), without creating a local branch.
    If you are in this situation, then you are working in a detached HEAD, which would explain the “no files to commit” message.

    See “Git Lesson: Be mindful of a detached head” for more, and check if your history doesn’t display a HEAD pointer:

    no head

    The good news is that you can quickly fix this problem by creating a new branch.
    In egit, this is as simple as Team -> Switch To -> New Branch. Now, all these ‘detached commits’ will live on the new branch (new_idea).

    new branch

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

Sidebar

Related Questions

Whenever I try to add a new project to my SourceSafe repository it creates
Whenever i try to get the file, the length of the input stream (s.Length)
Whenever I try to copy a file that's bigger than 2GB, I get an
Whenever I try to upload a sound file IO get the error The connection
Whenever I try to run a .py file from cmd it opens up in
Whenever I try to compile my project (with the command line g++ *.hpp *.cpp
Whenever I try to compile my project (with the command line g++ *.hpp *.cpp
Whenever I try to base64 decode files (using OpenSSL's BIO_f_base64() ) larger than 8192,
I get the infamous MERGE of 'whatever': 200 OK whenever I try to commit
Whenever I try to install the 2nd version, it says that it is going

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.