Y
Y
Yaroslav2016-12-20 19:22:48
git
Yaroslav, 2016-12-20 19:22:48

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

3 answer(s)
S
Sergei, 2016-12-20
@YarkoDzech

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

D
Dmitry, 2017-05-13
@dmitry2511

Try this: wrap your {newsTemplate} in a -div tag, in return

I
Islam Ibakaev, 2017-05-14
@devellopah

sort of .createClass()already or soon deprecated
get used to es6 classes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question