Compare commits

...

2 Commits

Author SHA1 Message Date
Niccolo Borgioli 9a5d3ca87d
update deps 2024-03-05 17:27:33 +01:00
Niccolo Borgioli 0f172b5c61
add git clean 2024-03-05 17:27:27 +01:00
5 changed files with 386 additions and 383 deletions

2
.nvmrc
View File

@ -1 +1 @@
v20.5.1
v20.11.1

View File

@ -5,6 +5,7 @@ const withNextra = require('nextra')({
module.exports = {
...withNextra(),
output: 'export',
images: {
unoptimized: true,
},

View File

@ -1,15 +1,15 @@
{
"private": true,
"license": "MIT",
"packageManager": "pnpm@8.6.12",
"packageManager": "pnpm@8.15.4",
"scripts": {
"dev": "NEXT_TELEMETRY_DISABLED=1 next dev",
"build": "NEXT_TELEMETRY_DISABLED=1 next build && NEXT_TELEMETRY_DISABLED=1 next export"
"build": "NEXT_TELEMETRY_DISABLED=1 next build"
},
"dependencies": {
"next": "^13.5.4",
"nextra": "^2.13.2",
"nextra-theme-docs": "^2.13.2",
"next": "^14.1.2",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}

17
pages/git/clean.md Normal file
View File

@ -0,0 +1,17 @@
---
tags:
- git
- clean
- gitignore
- delete
---
# Delete all files mentioned by `.gitignore`
This command is useful if you want to reset a repository to it's checked out state.
```bash
git clean -Xdf
```
[Original SO Link](https://unix.stackexchange.com/a/542735)

File diff suppressed because it is too large Load Diff