I'm having trouble with the phenomenon that git keeps making differences.

Asked 1 years ago, Updated 1 years ago, 35 views

I am troubled by the phenomenon of git continuously producing differences.When I did git status, the following message came out, so I tried to deal with it...

Changes not stagged for commit:
  (use "git add<file>..." to update what will be committed)
  (use "git checkout --<file>..." to discard changes in working directory)

    modified —app/hoge.php
    modified —app/fuga.css

no changes added to commit (use "git add" and /or "git commit-a")

stash or commit or reset but the difference continues.If you try to use the GUI such as SourceTree or GitHub applications, it will continue to appear.

Has anyone encountered a similar phenomenon?

If anyone knows the solution, please let me know.

git

2022-09-30 20:17

1 Answers

 git add app/hoge.php
git add app/fuga.css
git commit-m "<your commit message>"

Wouldn't solve this problem?


2022-09-30 20:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.