We can use git clean command to remove all untracked files from your local working branch.
To remove even the untracked directories which are present in the local branch.
>git clean -f -d
> git clean -f
This will remove all untracked files forcefully.
To remove even the untracked directories which are present in the local branch.
>git clean -f -d
No comments:
Post a Comment