GIT:如何删除未跟踪的文件“\\”

时间:2018-06-18 11:34:56

标签: git

出于某种原因,在我运行<?php defined('BASEPATH') OR exit('No direct script access allowed'); $config = array( 'signup' => array( array( 'field' => 'first_name', 'label' => 'first_name', 'rules' => array( 'required', array( 'username_callable', function($str) { if($str == 'admin') { return TRUE; } else{ return FALSE; } } ) ), 'errors' => array( 'username_callable' => 'Invalid Name', ) ))); 之后,所有本地分支上都存在一个不常见的未跟踪文件,并显示以下消息

#include<stdio.h>

int * ReturnArray()
{
    static int *Arr;
    int i;
    for(i=0;i<5;i++)
    {
        Arr[i] = i;
    }

    return Arr;
}

int  main()
{
    int *A,i;
    A = ReturnArray();

    for(i=0;i<5;i++)
    {
        printf("%d",A[i]);
    }

    return 0;
}

正如我在所有现有/新的本地分支机构上所说的那样我怎么能删除它?它究竟意味着什么?

1 个答案:

答案 0 :(得分:1)

You are looking for git clean.

Run git clean -n to check what will be deleted, and when you are happy you can remove them with git clean -fd.