I'm Developing an MauiApp on my windows machine and on GitHub Desktop there are many unnecessary changes which are appearing .
these changes are related to bin/obj and other files ,Due to which it gets very hard for me to push the required changes because it is very hard to find and select those important changes among these unnecessary changes which are in thousand ,
does anyone know how to resolve them.
1 Answer
The unnecessary changes in your GitHub Desktop related to bin/ and obj/ folders can be resolved by using a .gitignore file.
In the root directory of your MauiApp repository, create a new file named .gitignore (if it doesn’t already exist).
Add the following lines to the file to ignore the bin/ and obj/ directories: bin/ obj/
git add .gitignore
Then you can do git commit , followed by git push.
gitignorefile?obj/andbin/to your .gitignore file is probably all you need to do..gitignorewon't help. You have to untrack the files. Let me find a duplicate question (this has been answered time and time before)