Git Command: Files Category: Merge Usage: git checkout <commit-hash> <file-path> && git commit -m 'message' Example: git checkout 1a2b3c4d lib/main.dart && git commit -m 'Restore main.dart' ------------------------------ Shared from Git Commands app Get the app: https://nirajprajapati.com/gitcommands/
Git Command: Files
Category: Merge
Usage:
git checkout && git commit -m 'message'
Example:
git checkout 1a2b3c4d lib/main.dart && git commit -m 'Restore main.dart'
Shared from Git Commands app
Get the app: https://nirajprajapati.com/gitcommands/