Mon fichier ~/.config/git/ignore
comprend:Pourquoi mon fichier git ignore le fichier xcuserdata?
xcuserdata/**
Je viens de vérifier un nouveau projet de Bitbucket, a ouvert dans Xcode, et a couru git status
, et il montre:
Untracked files:
(use "git add <file>..." to include in what will be committed)
Project Name.xcodeproj/project.xcworkspace/xcuserdata/
Pourquoi ne pas l'ignorer fichier correspondant à ce répertoire?
$ XDG_CONFIG_HOME n'est pas défini et xcuserdata s'affiche toujours en tant que fichier non suivi. Comment puis-je réparer ça? –
@VaddadiKartick avez-vous un fichier suivi dans 'xcuserdata'? Essayez un 'git rm --cached" Appareil photo flashé.xcodeproj/project.xcworkspace/xcuserdata/"' – VonC
Il est dit: fatal: pathspec ne correspond à aucun fichier. J'ai confirmé sur l'interface Web de Bitbucket, et xcuserdata n'est pas suivi. –