Answer the question
In order to leave comments, you need to log in
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
git commit --amend is not possible
without a commit. You can't do without a head either. the question is not to be understood!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question