..." to include i...">

Delete a file that looks like "\ 357 \ 275 \ 236"

When i git status

# On branch inline # Untracked files: # (use "git add <file>..." to include in what will be committed) # # "\357\275\236" # nothing added to commit but untracked files present (use "git add" to track) 

However, when I do ls -al , I don't see anything like \357\275\236

+4
source share
3 answers

You probably have a file with UTF-8 characters in it. Run

git config core.quotepath false

to change the behavior of git and show you the file name that the OS is likely to present to you.

Here's a workaround for working with Mac OS X HFS + UTF-8 and git encoded files ! The answer to this question also includes a good explanation.

+4
source

if you do not want this file and do not care about how to list it, just do:

 git clean -df 

That should get rid of him. Make sure you have no other job. You can also test it with git gui for fun first.

Hope this helps.

0
source

I use Smartgit UI + Msysgit for Windows and Bitbucket as a remote repository.

Also I was not able to delete any file name without ascii from my local repository

so I tried to delete these files from Bitbucket and pull the source code into my local repository, and it works!

0
source

All Articles