Closed MichaelM1 closed 1 year ago
Looks good! I tried it on my end and it works :). I think we should still try to do a interactive menu for adding files to be staged but doing it through the file path is okay for now. We will discuss it further in our next group meeting.
Working on my end as well. I think we might need to include an error message if the file does not exist, I can take a look at this. Nice work Michael.
I have implemented git add functionality to our Source Control menu. The way it works is it prompts the user to enter the path of the file not including the path of the repository. The user must select their repository before git add will work. I have included two screenshots below.
Screenshot of Add menu when no repository has been selected.
Screenshot of successfully staging temp/test.py.