I just ran across What does the 'git add .' ('git add' single dot) command do? which is marked as a duplicate of Git for beginners: The definitive practical guide.
The duplicate target was closed as being an off-topic post with historical significance. It seems pretty self-evident why: it's an unfocused catch-all question on how to use git, which is the opposite of what Stack Overflow questions are supposed to be.
On the other hand, the duplicate question appears to be on topic: it's a focused question about a programming tool.
The off-topic question was locked on May 14, 2012; the duplicate question was closed as a duplicate on Jun 6, 2013. So the duplicate target was known to be off-topic when the duplicate question was closed.
It feels really off to me that a known off-topic question would be chosen as a duplicate target of something that feels on-topic.
I did a search for other potential duplicate questions, in case it's still a duplicate. The closest I found is Difference between "git add -A" and "git add .", which while similar, doesn't feel like quite the same question. On the other hand, I'm seriously questioning my search-fu when it comes to duplicates, given the extreme downvoting of a recent meta question of mine (How does this closed question lack details or clarity?) that would have been avoided had I been more successful as duplicate searching. So I could well be missing something.
Was this closure as a duplicate reasonable when it was done, and something to be emulated? Or is my intuition correct that this closure shouldn't have happened?
git add
orgit add .
in the duplicate target.