Operation objects | Git operations |
---|---|
Untracked files | git clean -f: Remove all untracked files |
Tracked but not committed files | git reset –hard: Rollback the tracked files to last committed status |
committed-ID | git reset –hard committed-ID: Rollback the repository to the specified committed-ID status |