Stash only one file out of multiple files that have changed with Git? -


How do I sort out one of the more than one converted file in my branch?

As described in the comments, it puts everything in the station, both are numb and unstable. After the hiding place - Index index leaves the index alone. When you pop up after hiding later, this may be the cause of merge tributes.


This will hide everything that you have not added before. Just add the git to the things you want to keep, then run it. For example, if you want to divide the old change into more than one change, then

  git stash --keep-index  

You can use this process:

  1. git rebase -i & lt; Last Good Bid & gt;
  2. Mark some changes as edit .
  3. Reset git HEAD ^
  4. git add & lt files that you want to keep in this change & gt;
  5. git stash --keep-index
  6. Fix things as needed git add Do not forget to
  7. git commit
  8. git hiding pop
  9. Required # Repeat with 5.
  10. GIT Rebase - Continue

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -