Undo git update-index –assume-unchanged

I have run the following command to ignore watching/tracking a particular directory/file: git update-index –assume-unchanged <file> How can I undo this, so that <file> is watched/tracked again? 1Best Answer 11 To get undo/show dir’s/files that are set to assume-unchanged run this: git update-index –no-assume-unchanged <file> To get a list of dir’s/files that are assume-unchanged run … Read more

What are the differences between “git commit” and “git push”?

In a Git tutorial I’m going through, git commit is used to store the changes you’ve made. What is git push used for then? 16 s 16 Basically git commit “records changes to the repository” while git push “updates remote refs along with associated objects“. So the first one is used in connection with your … Read more