Answers for "git specific file commit"

1

git lits file in commit

// list files in a specific commit
git diff-tree --no-commit-id --name-only -r 3a379d3319
// other way
git show --pretty="" --name-only 3a379d3319
Posted by: Guest on May-25-2021
0

git commit exluding one file

git update-index --assume-unchanged "main/dontcheckmein.txt"

/*and to undo that*/
git update-index --no-assume-unchanged "main/dontcheckmein.txt"
Posted by: Guest on October-01-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language