vcuspinera / UDG_MCD_Project_Dev_I

Material for Project Development I course of the Master of Data Science of Universidad de Guadalajara
MIT License
11 stars 1 forks source link

Uso de Git Ignore #101

Closed vcuspinera closed 11 months ago

vcuspinera commented 11 months ago

Explanation

When sharing your code with others, there are often files or parts of your project, you do not want to share.

Examples:

Git can specify which files or parts of your project should be ignored by Git using a .gitignore file.

Git will not track files and folders specified in .gitignore. However, the .gitignore file itself IS tracked by Git.

Steps

Create a .gitignore file in the root of your local Git.

Open the file using a text editor.

Add the rules you want to use. For example, you could add these two simple rules:

Ignore any files with the .log extension
Ignore everything in any directory named temp

Now all .log files and anything in temp folders will be ignored by Git.

References

vcuspinera commented 11 months ago

Se cierra issue tras concluir curso.