Skip to content

Commit

Permalink
chore: add warning docs to analyzing a locally cloned repository use …
Browse files Browse the repository at this point in the history
…case

Signed-off-by: Trong Nhan Mai <[email protected]>
  • Loading branch information
tromai committed Oct 31, 2023
1 parent e5fb847 commit cc2fd1b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/pages/using.rst
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ An example configuration file for utilising this feature:
Analyzing a locally cloned repository
-------------------------------------

.. warning::
During the analysis, Macaron can check out different commits, which can reset the index and working tree of the repository.
Therefore, any uncommitted changes in the repository need to be backed up to prevent loss (these include unstaged changes, staged changes and untracked files).
However, Macaron will not modify the history of the repository.

If you have a local repository that you want to analyze, Macaron also supports running the analysis against a local repository.

Assume that the dir tree at the local repository has the following components:
Expand Down

0 comments on commit cc2fd1b

Please sign in to comment.