Sometimes I forget to add some files before committing. With Mercurial, I fix this as follows:
hg qinit
Can I do something like this using Git?
Basically you are trying to change your last commit in Git. It is possible and quite simple.
git commit --amend used for this purpose.
git commit --amend
The following page provides a detailed example.
https://github.com/abhikp/git-test/wiki/Changing-your-last-commit
Source: https://habr.com/ru/post/1654980/More articles:What is the difference between a framebuffer and an image in Vulcan? - imagedot net core build platform / os special code or class files - .netHow to develop a decision after making a decision (diamond) in UML? - umlTransformation of the visualization from the coast to the bokeh - pythonHow to set wxplot2d graph size in wxMaxima worksheet? - plotCannot find module to respond - javascriptDisable iOS 10 Quick Action Widget - iosпредупреждающий раздел "_textcoal_nt устарел - iosUpdate Angular from any version to the latest stable - angularHow to set auto height for viewing using Navigator? - react-nativeAll Articles