Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

By mistake commit some code in GIT!

Akshesh Panchal April 17, 2014

I made some changes inside ServiceImpl.java and when i was about to commit in repository it shows me you had some changes in .project file. The changes are...

+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>.

and by mistake i commited it in repository, And i saw some confliction error.
i removed the code form .project file! and recommit it, and i saw the same error again! :-/

how to resove it ?
Please help me!

3 answers

1 accepted

1 vote
Answer accepted
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2014

This should indicate that you're trying to commit changes to a file that was deleted from the repository I suppose. Try to soft reset your change to the point where you've got no changes in the .project file and then add the .project file to "ignored" and commit again.

Akshesh Panchal April 17, 2014

@BorisThanks its done :D

Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2014

would you mark the answer as accepted please ?

0 votes
Akshesh Panchal April 17, 2014

@Boris

Thanks for your reply

Some, damn! confliction error.... "changed in source but deleted in destination"

0 votes
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 17, 2014

What is the error you see ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events