|
 |
On Sat, 24 Jan 2026 21:13:05 -0400, Cousin Ricky wrote:
> On 2026-01-23 10:46 (-4), Jim Henderson wrote:
>>
>> I might be mistaken (it's WAY to early in the morning for me to be
>> thinking about this), but if the file isn't added to the repo and just
>> lives within the directory, then I don't think any changes get tracked,
>> and this is the behavior you would probably see.
>>
>> Make sure you use `git add <filename>` for anything you want change
>> tracking enabled.
>
> No, the files are definitely part of the repo.
Do you see them in `git status`?
If you see something like this:
$ git status
On branch electron
Your branch is up to date with 'origin/electron'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
package-lock.json
nothing added to commit but untracked files present (use "git add" to
track)
Then the file isn't part of the repo (in this case, package-lock.json
isn't part of the repo I was checking). That would be consistent with what
you're seeing.
Jim
--
"I learned long ago, never to wrestle with a pig. You get dirty, and
besides, the pig likes it." - George Bernard Shaw
Post a reply to this message
|
 |