Eclipse neon “no staged files” error
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
add a comment |
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
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
add a comment |
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
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
eclipse git github
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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 namedAdd
on older versions of Egit.)
Then:
Click Team > Commit
in the project context menu.
Finally, you can push.
add a comment |
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:
What is "Theam"? Did you mean Team?
– FrankerZ
Nov 24 '18 at 22:44
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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 namedAdd
on older versions of Egit.)
Then:
Click Team > Commit
in the project context menu.
Finally, you can push.
add a comment |
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 namedAdd
on older versions of Egit.)
Then:
Click Team > Commit
in the project context menu.
Finally, you can push.
add a comment |
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 namedAdd
on older versions of Egit.)
Then:
Click Team > Commit
in the project context menu.
Finally, you can push.
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 namedAdd
on older versions of Egit.)
Then:
Click Team > Commit
in the project context menu.
Finally, you can push.
answered Sep 2 '16 at 9:36
VonC
832k28926163160
832k28926163160
add a comment |
add a comment |
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:
What is "Theam"? Did you mean Team?
– FrankerZ
Nov 24 '18 at 22:44
add a comment |
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:
What is "Theam"? Did you mean Team?
– FrankerZ
Nov 24 '18 at 22:44
add a comment |
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:
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:
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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