Here are the steps to create a list of modified components using Git:
- Open the command prompt or terminal on your local machine.
- Navigate to the repository where you have the modified components.
- Use the command "git status" to view the list of modified files or components. This command displays the status of the Git branch you are currently working on.
- To view only the modified components, use the command "git status -s" or "git status --short," which shows the status in the short format.
- To show only the list of modified components across all branches, use the command "git diff --name-only."
- If you want to see the changes made to each file or component, use the command "git diff <file name="">." This displays the differences between the current and previous versions of the file or component.
- After reviewing the list of modified components, you can stage and commit the changes using "git add" and "git commit" commands.