Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#git
Question
Interactive add
Answer

git add -i (or --interactive)

will give you an interactive interface where you can edit the index, to prepare what you want to have in the next commit. You can add and remove changes to whole files, add untracked files and remove files from being tracked, but also select subsection of changes to put in the index, by selecting chunks of changes to be added, splitting those chunks, or even editing the diff.


Tags
#git
Question
Interactive add
Answer
?

Tags
#git
Question
Interactive add
Answer

git add -i (or --interactive)

will give you an interactive interface where you can edit the index, to prepare what you want to have in the next commit. You can add and remove changes to whole files, add untracked files and remove files from being tracked, but also select subsection of changes to put in the index, by selecting chunks of changes to be added, splitting those chunks, or even editing the diff.

If you want to change selection, open document below and click on "Move attachment"

pdfs

  • owner: cramer7575 - (no access) - GitNotesForProfessionals.pdf, p31
  • owner: tekwizz123 - (no access) - GitNotesForProfessionals.pdf, p31

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.