[Development] How to use `init-repository` properly to clean up the working tree after checking out?
Haowei Hsu
hwhsu1231 at gmail.com
Mon Aug 21 05:45:58 CEST 2023
Hello, Thiago.
Strange to say, when checking out to the submodules and run *`git status`*,
they all say that the *working tree is clean*.
*C:\Users\hwhsu1231>chdir /d D:\Repo\tmp\qtD:\Repo\tmp\qt>git statusOn
branch 6.2.4Your branch is up to date with 'origin/6.2.4'.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: qtlocation (new commits) modified:
qtspeech (new commits)no changes added to commit (use "git add" and/or "git
commit -a")D:\Repo\tmp\qt>chdir qtlocationD:\Repo\tmp\qt\qtlocation>git
statusHEAD detached at c220ab87nothing to commit, working tree
cleanD:\Repo\tmp\qt\qtlocation>chdir ..\qtspeechD:\Repo\tmp\qt\qtspeech>git
statusHEAD detached at 9ae182fnothing to commit, working tree
cleanD:\Repo\tmp\qt\qtspeech>*
---
Haowei Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230821/091947d5/attachment-0001.htm>
More information about the Development
mailing list