Wpis z mikrobloga

Stworzyłem nowy projekt w Visual Studio. Chciałem zacommitowac zmiany, ale po wpisaniu komendy git add -A ujrzałem taki komunikat w terminalu gita:

error: open(".vs/ProjectName/v17/Browse.VC.opendb"): Permission denied
error: unable to index file '.vs/ProjectName/v17/Browse.VC.opendb'
fatal: adding files failed

Jak to można naprawić? Po wpisaniu git add * wszystko działa poprawnie, ale nie wiem czy stosowanie add z gwiazdką to dobry pomysł. #visualstudio #programowanie #git
  • 2
@placebo_:
1. "git add *": This command only stages the changes for files in the current directory. It does not include files in subdirectories.

2. "git add -A": This command stages all changes, including new files, modifications, and deletions. It stages changes in all directories, including subdirectories.

In summary, "git add *" stages changes only in the current directory, while "git add -A" stages changes in the current directory and all