79133469

Date: 2024-10-28 12:54:51
Score: 1
Natty:
Report link

it is: git add full path of your file with file name

suppose I want to add a file MainActivity.kt then If i do git add MainActivity.kt it will throw error sayingfatal: pathspec 'MainActivity.kt did not match any files

so to avoid that:

git add app/src/main/java/com/androminor/firstcompose/MainActivity.kt

I checked all of the above answer. To my surprise they where half baked reply giving wrong output.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: androminor