D
D
Dmitry Smolyakov2017-05-06 20:38:17
git
Dmitry Smolyakov, 2017-05-06 20:38:17

How to add a change to the repository and still not commit?

I forgot the git command, which allows you to save the change to the repository without a commit (do not hide it like git stash).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
aol-nnov, 2017-05-06
@spudro

git commit --amend is not possible
without a commit. You can't do without a head either. the question is not to be understood!

J
jcmvbkbc, 2017-05-06
@jcmvbkbc

add to index -- git add

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question