Answers for "how to get the commit details for a particular file in git"

7

git check which files are committed

$ git diff-tree --no-commit-id --name-only -r bd61ad98
index.html
javascript/application.js
javascript/ie6.js
Posted by: Guest on June-01-2020
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 "Shell/Bash"

Browse Popular Code Answers by Language