Horje
delete all unstaged files git Code Example
discard unstaged changes git
#For all unstaged files in current working directory use:
git checkout -- .
#For a specific file use:
git checkout -- path/to/file/to/revert
git delete unstaged files
git clean -df
git discard unstaged files
git stash save --keep-index --include-untracked
delete all unstaged files git
#For all unstaged files in current working directory use:
git checkout -- .
#For a specific file use:
git checkout -- path/to/file/to/revert

# delete all unstaged files
git clean -df

#discrard all unstaged files
git stash save --keep-index --include-untracked




Shell

Related
invert grep Code Example invert grep Code Example
cron Code Example cron Code Example
dpkg: error processing archive /var/cache/apt/archives/influxdb_1.8.10-1_amd64.deb (--unpack): Code Example dpkg: error processing archive /var/cache/apt/archives/influxdb_1.8.10-1_amd64.deb (--unpack): Code Example
repozytoria ubuntu Code Example repozytoria ubuntu Code Example
ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at Code Example ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11