The command to get a list of files that has been changed in a particular commit is:
git diff-tree –r {commit hash}
* -r flag allows the command to list individual files
* commit hash lists all the files that were changed or added in the commit.
Posted Date:- 2021-10-18 05:43:01
What does git annotate command do?
Can you tell something about git reflog?
How can you discover if a branch has already been merged or not?
If you recover a deleted branch, what work is restored?
How do you find a list of files that has been changed in a particular commit?
What does the git reset --mixed and git merge --abort commands do?
What is ‘bare repository’ in Git?
What does git stash apply command do?
What differentiates between the commands git remote and git clone?
Tell me something about git stash?
How can conflict in git resolved?
What is the difference between git rebase and git merge?
How to deal with huge binary files in Git?
How can you change any older commit message?
What is the difference between git fetch and git pull?
How do you edit or fix the last commit message in Git?
State the difference between “git pull†and “git fetch.â€
Why is it said that Git is designed keeping in mind performance, security, and flexibility?
What is the meaning of “Index†or “Staging Area†in GIT?
What is a version control system? Mention its types.
What is a merge conflict in Git?
Why is it considered to be easy to work on Git?
What is the purpose of branching in GIT?
What does commit object contain?
What is the function of ‘git config’?
How will you know in GIT if a branch has been already merged into master?
What is “Staging Area†or “Index†in GIT?
Why GIT better than Subversion?
What is the function of ‘GIT PUSH’ in GIT?
What is the difference between Git and Github?
Name some of the popular Git hosting repositories.
What is a commit message, and how is the commit command executed?
What are the advantages of using Git?
Name a few Git commands with their function.
What is a version control system (VCS)?
What do you understand by the term ‘Version Control System’?