Answers for "git commit selected file"

1

git checkout file from commit

git checkout c5f567 -- file1/to/restore file2/to/restore
Posted by: Guest on October-27-2021
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
1

git commit specific files

//add that specific file
 git add "File name"
//Committing file wiht message
git commit -m "Message of the commit"
Posted by: Guest on April-04-2022

Code answers related to "TypeScript"

Browse Popular Code Answers by Language