SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

DEVOPS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following file you can configure to ensure that certain file types are never committed to the local Git repository?
A
.gitignore
B
gitignore.txt
C
git.ignore
D
ignore.git
Explanation: 

Detailed explanation-1: -A global . gitignore file helps ensure that Git doesn’t commits certain file types, such as compiled binaries, in any local repo.

Detailed explanation-2: -gitignore file. It will just ignore the files that have already been committed to a Git repository, but now we have added them to . gitignore .

Detailed explanation-3: -git: ‘remote-https’ is not a git command.

There is 1 question to complete.