These are chat archives for coala/coala-bears

7th
Mar 2018
Pradhvan Bisht
@Pradhvan
Mar 07 2018 06:36
@Vedarth ping
Vedarth Sharma
@Vedarth
Mar 07 2018 06:37
@Pradhvan Yes?
Pradhvan Bisht
@Pradhvan
Mar 07 2018 06:38
The command you gave git reset --soft HEAD^5 on the issue coala/coala#5229 is not working
fatal: ambiguous argument 'HEAD^5': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
I did google but could not find the solution
Vedarth Sharma
@Vedarth
Mar 07 2018 06:42
@Pradhvan try git reset --soft HEAD~5 it should work
Pradhvan Bisht
@Pradhvan
Mar 07 2018 06:43
dosen't ~ is for hard reset ,anyway let me use it
Vedarth Sharma
@Vedarth
Mar 07 2018 06:44
we are using --soft for soft reset.
Pradhvan Bisht
@Pradhvan
Mar 07 2018 06:47
@Vedarth thanks , it did work :smile:
I will be reading about soft and hard reset now
Vedarth Sharma
@Vedarth
Mar 07 2018 06:49
:smile:
Sangam Kumar
@sangamcse
Mar 07 2018 16:07
@Vedarth, @Pradhvan, take a look at the PR https://github.com/coala/coala/pull/5229/files. It has different file changes...
Vedarth Sharma
@Vedarth
Mar 07 2018 16:34
@sangamcse I didn't see that :sweat_smile: @Pradhvan unstage all of the files and add your edited file only then use git commit --amend
Pradhvan Bisht
@Pradhvan
Mar 07 2018 18:06
@Vedarth I did the changes you said coala/coala#5229
Sangam Kumar
@sangamcse
Mar 07 2018 18:10
@Pradhvan, You haven't changed as said by @Vedarth. You need to unstage all other files except Writing_Linter_Bears.rst. Check all files here --> https://github.com/coala/coala/pull/5229/files
Pradhvan Bisht
@Pradhvan
Mar 07 2018 18:11
upstage as if ? I did not get it
Sangam Kumar
@sangamcse
Mar 07 2018 18:13
unstage** ^
@Pradhvan