Skip to content
loading...
markdown guide
 

If we accidentally amend new changes using 'git commit --amend --no-edit' But that changes should have new commit, How to separate latest changes for new commit ?

 

Hmm.. A tough one of course. However, the command you are describing was one designed around purposefully amending the last code edit without recording a new change. Because of this purposeful approach to amending, there is no way to undo.

 

Yeah, but sometimes it is painful when accidentally amend the new changes.

Classic DEV Post from Jun 11 '19

Are CSS and HTML programming languages?

Are HTML and CSS programming languages?

Joshua Johnson profile image
a developer looking to share cool things.