git clean --ffdx
Remove Untracked files
ubuntu@ubuntu:$ git status
On branch dev/banting/x.5.x/cam_v2_prod
Your branch is up to date with 'origin/dev/banting/x.5.x/cam_v2_prod'.
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: sdk (new commits)
Untracked files:
(use "git add <file>..." to include in what will be committed)
cam_v2_prod_build/
no changes added to commit (use "git add" and/or "git commit -a")
ubuntu@ubuntu:$ git clean -ffdx
Removing application/main.o
ubuntu@ubuntu:$ git status
On branch dev/banting/x.5.x/cam_v2_prod
Your branch is up to date with 'origin/dev/banting/x.5.x/cam_v2_prod'.
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: magik-cpu-sdk (new commits)
no changes added to commit (use "git add" and/or "git commit -a")
ubuntu@ubuntu:$