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

Veröffentlicht am: 31 März 2023
auf dem Kanal: DevOps Vijay
747
18

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 :
How to install jenkins in windows:    • How to  Install Jenkins on Windows ? | Jen...  
How to create first sample job in jenkins:    • How to Create First Freestyle Project/JOB ...  
Poll scm jenkins :    • Jenkins Poll SCM GitHub | BUILD Triggers w...  
How to install plugin in jenkins:    • Jenkins Plugins installation | EP 04 | Jen...  
How to create pipeline in jenkins:    • Creating First Pipeline in Jenkins | EP 12...  
Configure Slave agent in jenkins:    • Maven Installation & Jenkins Slave Agent c...  
SSH-KEYS setup :    • SSH Key Based Password Less Authentication...  
Maven installation:    • Maven Installation on Windows | EP 01 | Ma...  
Configure Maven with Nexus:    • Installation of Nexus Repository in window...  

*************************************************************
Ubuntu on Virtualbox:    • Need UBUNTU on Windows Operating System? I...  
Install Guest additions in oracle vm:    • Full screen issue ? | Install GUEST ADDITI...  
Install Tomcat on Ubuntu:    • How to Install  and configure Tomcat on UB...  

****************************************************
Devops interview questions:    • Test your DevOps skills and knowledge ?| D...  
Devops java project sample:    • Create Java Project in Maven | Folder Stru...  
*****************************************************

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


Auf dieser Seite können Sie das Online-Video Git what to ignore ? | Usage of gitignore file in GIT | Live Example with GitHub | GIT Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer DevOps Vijay 31 März 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 747 Mal angesehen und es wurde von 18 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!