Answer the question
In order to leave comments, you need to log in
Is it possible to add changes to the current commit and not to the next one?
Situation example.
At the current stage of development, a certain stage is indexed, a commit is made and launched into the repository.
The next day, there is some kind of work with the project that does not draw on a new commit, for example, the working day is over and there is a desire to save what was done during the day, attach it to the previous commit and push, so to speak, updated to the cloud.
The goal is not to make a series of intermediate stages, but to commit only real changes to the project.
Answer the question
In order to leave comments, you need to log in
If you mean "pushed to the repository" it's to your remote branch. Those. it didn’t get into master, then of course you can - use git amend
Otherwise, it’s better as a separate commit
sort of .createClass()
already or soon deprecated
get used to es6 classes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question