Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/git-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ A concise cheat sheet with essential commands and common workflows for daily Git
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git config --global core.editor "code --wait" # Set VSCode as editor (optional)
git config --global fetch.prune true # Automatically delete local branches that have been merged into the branch pulled
```

---
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"test": "npx ts-node --project tsconfig.test.json wrappers/main-wrapper.ts",
"debug": "npx ts-node --project tsconfig.test.json wrappers/main-wrapper.ts --debug",
"doc:ts:install": "npm install --save-dev typedoc",
"doc:ts:run": "npx typedoc src/logger.ts --out docs/typedoc --readme none --tsconfig tsconfig.json --theme default"
"doc:ts:run": "npx typedoc src/logger.ts --out docs/typedoc --readme none --tsconfig tsconfig.json --theme default",
"cleanup-branches": "git branch --merged main | grep -v 'main$' | grep -v '^\\*' | xargs -n 1 git branch -d"
},
"keywords": [
"office-scripts",
Expand Down