search
HomeSoftware TutorialComputer SoftwareTortoiseGit restores the specific method of ignoring file usage

The file was accidentally ignored by git, how to restore it? PHP editor Yuzai brings you the specific method of restoring ignored files in TortoiseGit to help you solve this problem.

Right-click on the file, TortoiseGit-Delete (keep a copy, D), and delete the ignored file in the index file.

TortoiseGit restores the specific method of ignoring file usage

A prompt box will pop up, select remove.

TortoiseGit restores the specific method of ignoring file usage

At this time, the ignored file will be marked with a red cross.

TortoiseGit restores the specific method of ignoring file usage

At this time the file is deleted from the index file and is no longer subject to version control. Then right-click on the file and select add to add the file to the version-controlled management column.

TortoiseGit restores the specific method of ignoring file usage

The file becomes a file with a red exclamation mark, indicating that the file has been modified

TortoiseGit restores the specific method of ignoring file usage

Right-click in the blank space and select Restore to restore the file to its original state After the status is reached, pull it again and it can be updated normally.

TortoiseGit restores the specific method of ignoring file usage

The above is the detailed content of TortoiseGit restores the specific method of ignoring file usage. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function