In Visual Studio 2017, you can just right click on the solution file and select Add solution to source control, # git has its own built in compression methods # it’s better to unpack these files and commit the raw source # Include dlls if they're in the CommonReferences directory # Include dlls if they’re in the NuGet packages directory Here is how my GitIgnore file looks like ProjectName/obj/ If file is already you will see "Edit" button instead of "Add" In Visual Studio, you can directly Click on "Git" -> "Settings" -> Then select "Git Repository settings" -> then in section "Git Files", click the Add button for Ignore file. # Visual Studio 2015/2017 cache/options directory # User-specific files (MonoDevelop/Xamarin Studio) # files generated by popular Visual Studio add-ons. # Ignore Visual Studio temporary files, build results, and gitignore file will all the defaults set for things that should be ignored. Now click the add link next to the Ignore File description.
0 Comments
Leave a Reply. |