R
R
Ruslan2014-12-17 20:50:10
git
Ruslan, 2014-12-17 20:50:10

How to ignore amx binary?

In .gitignore, everything except 1 file is ignored, when compiling it shows that the compiled file has been changed, what do you advise?
content of .gitignore
*
!my/file.pwn

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Benkovsky, 2014-12-17
@iRusel

I didn't quite understand your description. my/file.pwn and is there a compiled file?
Well, you yourself do NOT ignore it and git processes it.
Or my/file.pwn is your source. In that case, it's normal behavior if you first added the file to git and then to .gitignore. Git won't stop tracking a file that has ever been added to Git.
In this case, the medicinegit rm --cached my/compile_file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question