Eclipse neon “no staged files” error












2














I am using Eclipse Neon for Github, to be able to push changes.



I already have a Github account and made a specific repository just for trying, but nothing ends up in the repository, though I follow guides and do exactly the same without getting any errors, but ending up with an empty Github repository (except for the Readme file that I created along with the repository at the website).



I've made several Java Projects with a simple main method, and a method for just writing a dummy message, simple, but doesn't exist in repository.

Then I right click the project, select Team -> Share Project and select:
Repository: NewGit - /home/jannik/NewGit.git, working tree: /home/jannik/NewGit and Path within repository: dummy and click my dummy project and press finish.



Now I right click my project again and choose Remote -> Push and choose the default option called Configured remote repository which says origin: https://github.com/< my-github-account>/eclipseTest.git which tells me that it links to my repository named eclipseTest (which I made on website).



I then press Next and press *Add all Branches spec and clicks next, and then Finish. I then get a dialog saying that Master and NewGit branches are up-to-date, though my dummy project is missing.



If I try the Commit option in Eclipse, I get an error saying that there're no staged files



What am I doing wrong?










share|improve this question




















  • 1




    Did you make any commit?
    – VonC
    Sep 2 '16 at 9:29












  • When I try to commit, I get an error saying that there're no staged files
    – Zuenonentu
    Sep 2 '16 at 9:31










  • Since your issue was not just related to the IDE, I suggest to get a little knowledge of how git works and how it is different form other VCS. You can have a look at Pro Git. It is a very good resource.
    – Mario Trucco
    Sep 2 '16 at 9:52


















2














I am using Eclipse Neon for Github, to be able to push changes.



I already have a Github account and made a specific repository just for trying, but nothing ends up in the repository, though I follow guides and do exactly the same without getting any errors, but ending up with an empty Github repository (except for the Readme file that I created along with the repository at the website).



I've made several Java Projects with a simple main method, and a method for just writing a dummy message, simple, but doesn't exist in repository.

Then I right click the project, select Team -> Share Project and select:
Repository: NewGit - /home/jannik/NewGit.git, working tree: /home/jannik/NewGit and Path within repository: dummy and click my dummy project and press finish.



Now I right click my project again and choose Remote -> Push and choose the default option called Configured remote repository which says origin: https://github.com/< my-github-account>/eclipseTest.git which tells me that it links to my repository named eclipseTest (which I made on website).



I then press Next and press *Add all Branches spec and clicks next, and then Finish. I then get a dialog saying that Master and NewGit branches are up-to-date, though my dummy project is missing.



If I try the Commit option in Eclipse, I get an error saying that there're no staged files



What am I doing wrong?










share|improve this question




















  • 1




    Did you make any commit?
    – VonC
    Sep 2 '16 at 9:29












  • When I try to commit, I get an error saying that there're no staged files
    – Zuenonentu
    Sep 2 '16 at 9:31










  • Since your issue was not just related to the IDE, I suggest to get a little knowledge of how git works and how it is different form other VCS. You can have a look at Pro Git. It is a very good resource.
    – Mario Trucco
    Sep 2 '16 at 9:52
















2












2








2


2





I am using Eclipse Neon for Github, to be able to push changes.



I already have a Github account and made a specific repository just for trying, but nothing ends up in the repository, though I follow guides and do exactly the same without getting any errors, but ending up with an empty Github repository (except for the Readme file that I created along with the repository at the website).



I've made several Java Projects with a simple main method, and a method for just writing a dummy message, simple, but doesn't exist in repository.

Then I right click the project, select Team -> Share Project and select:
Repository: NewGit - /home/jannik/NewGit.git, working tree: /home/jannik/NewGit and Path within repository: dummy and click my dummy project and press finish.



Now I right click my project again and choose Remote -> Push and choose the default option called Configured remote repository which says origin: https://github.com/< my-github-account>/eclipseTest.git which tells me that it links to my repository named eclipseTest (which I made on website).



I then press Next and press *Add all Branches spec and clicks next, and then Finish. I then get a dialog saying that Master and NewGit branches are up-to-date, though my dummy project is missing.



If I try the Commit option in Eclipse, I get an error saying that there're no staged files



What am I doing wrong?










share|improve this question















I am using Eclipse Neon for Github, to be able to push changes.



I already have a Github account and made a specific repository just for trying, but nothing ends up in the repository, though I follow guides and do exactly the same without getting any errors, but ending up with an empty Github repository (except for the Readme file that I created along with the repository at the website).



I've made several Java Projects with a simple main method, and a method for just writing a dummy message, simple, but doesn't exist in repository.

Then I right click the project, select Team -> Share Project and select:
Repository: NewGit - /home/jannik/NewGit.git, working tree: /home/jannik/NewGit and Path within repository: dummy and click my dummy project and press finish.



Now I right click my project again and choose Remote -> Push and choose the default option called Configured remote repository which says origin: https://github.com/< my-github-account>/eclipseTest.git which tells me that it links to my repository named eclipseTest (which I made on website).



I then press Next and press *Add all Branches spec and clicks next, and then Finish. I then get a dialog saying that Master and NewGit branches are up-to-date, though my dummy project is missing.



If I try the Commit option in Eclipse, I get an error saying that there're no staged files



What am I doing wrong?







eclipse git github






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 2 '16 at 11:18









Kenster

13.2k104869




13.2k104869










asked Sep 2 '16 at 9:17









Zuenonentu

1821216




1821216








  • 1




    Did you make any commit?
    – VonC
    Sep 2 '16 at 9:29












  • When I try to commit, I get an error saying that there're no staged files
    – Zuenonentu
    Sep 2 '16 at 9:31










  • Since your issue was not just related to the IDE, I suggest to get a little knowledge of how git works and how it is different form other VCS. You can have a look at Pro Git. It is a very good resource.
    – Mario Trucco
    Sep 2 '16 at 9:52
















  • 1




    Did you make any commit?
    – VonC
    Sep 2 '16 at 9:29












  • When I try to commit, I get an error saying that there're no staged files
    – Zuenonentu
    Sep 2 '16 at 9:31










  • Since your issue was not just related to the IDE, I suggest to get a little knowledge of how git works and how it is different form other VCS. You can have a look at Pro Git. It is a very good resource.
    – Mario Trucco
    Sep 2 '16 at 9:52










1




1




Did you make any commit?
– VonC
Sep 2 '16 at 9:29






Did you make any commit?
– VonC
Sep 2 '16 at 9:29














When I try to commit, I get an error saying that there're no staged files
– Zuenonentu
Sep 2 '16 at 9:31




When I try to commit, I get an error saying that there're no staged files
– Zuenonentu
Sep 2 '16 at 9:31












Since your issue was not just related to the IDE, I suggest to get a little knowledge of how git works and how it is different form other VCS. You can have a look at Pro Git. It is a very good resource.
– Mario Trucco
Sep 2 '16 at 9:52






Since your issue was not just related to the IDE, I suggest to get a little knowledge of how git works and how it is different form other VCS. You can have a look at Pro Git. It is a very good resource.
– Mario Trucco
Sep 2 '16 at 9:52














2 Answers
2






active

oldest

votes


















7














Before being able to push anywhere, you need to add and commit first.



See "EGit/User Guide/Commit" for adding and committing.



Its Track Changes sections shows how to add files to the index.




Click Team > Add to Index on the project node. (This menu item is named Add on older versions of Egit.)




Then:




Click Team > Commit in the project context menu.




Finally, you can push.






share|improve this answer





























    1














    go to >Theam > commit >
    you will get the changed list of files and in those you can move changed files to staged changes block and then commit.



    See this image you can find the solution:



    enter image description here






    share|improve this answer























    • What is "Theam"? Did you mean Team?
      – FrankerZ
      Nov 24 '18 at 22:44













    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39288753%2feclipse-neon-no-staged-files-error%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    Before being able to push anywhere, you need to add and commit first.



    See "EGit/User Guide/Commit" for adding and committing.



    Its Track Changes sections shows how to add files to the index.




    Click Team > Add to Index on the project node. (This menu item is named Add on older versions of Egit.)




    Then:




    Click Team > Commit in the project context menu.




    Finally, you can push.






    share|improve this answer


























      7














      Before being able to push anywhere, you need to add and commit first.



      See "EGit/User Guide/Commit" for adding and committing.



      Its Track Changes sections shows how to add files to the index.




      Click Team > Add to Index on the project node. (This menu item is named Add on older versions of Egit.)




      Then:




      Click Team > Commit in the project context menu.




      Finally, you can push.






      share|improve this answer
























        7












        7








        7






        Before being able to push anywhere, you need to add and commit first.



        See "EGit/User Guide/Commit" for adding and committing.



        Its Track Changes sections shows how to add files to the index.




        Click Team > Add to Index on the project node. (This menu item is named Add on older versions of Egit.)




        Then:




        Click Team > Commit in the project context menu.




        Finally, you can push.






        share|improve this answer












        Before being able to push anywhere, you need to add and commit first.



        See "EGit/User Guide/Commit" for adding and committing.



        Its Track Changes sections shows how to add files to the index.




        Click Team > Add to Index on the project node. (This menu item is named Add on older versions of Egit.)




        Then:




        Click Team > Commit in the project context menu.




        Finally, you can push.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 2 '16 at 9:36









        VonC

        832k28926163160




        832k28926163160

























            1














            go to >Theam > commit >
            you will get the changed list of files and in those you can move changed files to staged changes block and then commit.



            See this image you can find the solution:



            enter image description here






            share|improve this answer























            • What is "Theam"? Did you mean Team?
              – FrankerZ
              Nov 24 '18 at 22:44


















            1














            go to >Theam > commit >
            you will get the changed list of files and in those you can move changed files to staged changes block and then commit.



            See this image you can find the solution:



            enter image description here






            share|improve this answer























            • What is "Theam"? Did you mean Team?
              – FrankerZ
              Nov 24 '18 at 22:44
















            1












            1








            1






            go to >Theam > commit >
            you will get the changed list of files and in those you can move changed files to staged changes block and then commit.



            See this image you can find the solution:



            enter image description here






            share|improve this answer














            go to >Theam > commit >
            you will get the changed list of files and in those you can move changed files to staged changes block and then commit.



            See this image you can find the solution:



            enter image description here







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 23 '18 at 10:07









            Rafael

            2,81932030




            2,81932030










            answered Nov 23 '18 at 9:35









            madhangopal

            113




            113












            • What is "Theam"? Did you mean Team?
              – FrankerZ
              Nov 24 '18 at 22:44




















            • What is "Theam"? Did you mean Team?
              – FrankerZ
              Nov 24 '18 at 22:44


















            What is "Theam"? Did you mean Team?
            – FrankerZ
            Nov 24 '18 at 22:44






            What is "Theam"? Did you mean Team?
            – FrankerZ
            Nov 24 '18 at 22:44




















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f39288753%2feclipse-neon-no-staged-files-error%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            What visual should I use to simply compare current year value vs last year in Power BI desktop

            Alexandru Averescu

            Trompette piccolo