I'm fairly new to git and most of my interaction with it has been via the IntelliJ Idea IDE. But sometimes I use a command line. In one directory I did "git init", "git add files", and "git commit". As I edit files I do more commits, things are good. Except:
Every time I want to commit these 3 files I have to re-add them. Why?
Code:
309 -=> git status
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Notes
modified: Starweb.sav
modified: map330.odg
Untracked files:
(use "git add <file>..." to include in what will be committed)
.~lock.map330.odg#
Starweb.jar
foo
t0.txt
t1.txt
t2.txt
t3.txt
t4.txt
no changes added to commit (use "git add" and/or "git commit -a")
310 -=> git commit -m "no meaningful changes, this is a git test"
On branch master
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: Notes
modified: Starweb.sav
modified: map330.odg