I had some unstaged changes in my repo. Output on the terminal:
--- a/app/something.java +++ b/app/something.java @@ -37,13 +37,17 @@ public class SomeController extends Controller{ requestVo.setJobName("temp1"); requestVo.setJobGroup("g1"); requestVo.setJobInfo(JobInfo.INFO); - requestVo.setJobExecutionType(JobExecutionType.IMMEDIATE); - requestVo.setExecutionTime(new Date()); + requestVo.setJobExecutionType(JobExecutionType.TIMED); + requestVo.setExecutionTime(getExecutionTime(3600*1000l)); requestVo.setJobData("testing 123"); } + private Date getExecutionTime(long delay) { + return new Date(System.currentTimeMillis() + delay); + } + ... Then I proceeded to git reset --hard HEAD, so I lost my changes. Is there any way to get back the changes? Or apply my changes from the terminal as a commit?