Git what to ignore ? | Usage of gitignore file in GIT | Live Example with GitHub | GIT Tutorial

preview_player
Показать описание
In this video, we will learn what is the role of gitignore file in github repo.

The purpose of gitignore files is to ensure that certain files not tracked by Git and remain untracked. To stop tracking a file that is currently tracked, use git rm --cached to remove the file from the index. The filename can then be added to the .gitignore file to stop the file from being reintroduced in later commits.

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

Examples:
log files
temporary files
hidden files
personal files etc.
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.

*************************************************************
Jenkins tutorial complete step by step guide :

*************************************************************

****************************************************
*****************************************************

devops tutorial for beginners
devops full course
devops interview questions
jenkins tutorial
jenkins for devops

#tutorial #devops #jenkins #jenkinstutorial #jenkinspipeline #learning #career #interview #question #jenkins #cicd #linux #devopsvijay #devopsproject #devopstraining #devopstrainingvideos #cicd #bashscripting #shellscripting
Рекомендации по теме
join shbcf.ru