I am fairly sure you can simply edit the .gitignore file, delete the
line which is excluding the file, save the .gitignore file, then do a
"git add ????" (replace ???? with the real file name) followed by a
"git commit" to start tracking the previously ignored file. Of course,
there is no way to get any previous versions from git.
Now, if the file you want to start tracking is due to a "generic"
entry, and you want to continue not tracking the other files which are
excluded by the generic, then you can specifically list the name of
the file to be tracked in the same .gitignore file, but prefix it with
an exclamation mark, !. As an example. Suppose you don't want to track
files with the extension .pdf, except that you do want to track
special.pdf . The .gitignore would have lines like:
This would ignore all .pdf files, except for special.pdf.
I hope this is of some help.
On Mon, Mar 30, 2015 at 1:13 PM, Marko Zivanovic <zivanovi...@gmail.com> wrote:
> is there any way how track again file which is in ignore list currently.
> I made mistake and put file in ignore list. I can not find some command or
> solution how to fix my error and track file again
> Is this possible? I am newbee but google ing of this problem did not lead to
> every help is welcome
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
If you sent twitter messages while exploring, are you on a textpedition?
He's about as useful as a wax frying pan.
10 to the 12th power microphones = 1 Megaphone
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.