Update oneshot installation to clone repository locally
- Modified install.ps1 to clone git-workshop repository to ~/git-workshop - Added option to remove existing directory before cloning - Updated documentation to reflect the new behavior - Now provides complete setup: install tools + clone repo in one command - Similar to Scoop's get.scoop.sh installation pattern
This commit is contained in:
@@ -4,12 +4,17 @@ This guide will help you install everything needed for the Git Workshop on Windo
|
||||
|
||||
## Quick Start (Automated Installation)
|
||||
|
||||
**Easiest option:** Run our oneshot installation script that downloads everything and installs all required tools automatically.
|
||||
**Easiest option:** Run our oneshot installation script that installs all prerequisites and clones the repository automatically.
|
||||
|
||||
```powershell
|
||||
irm https://git.frod.dk/floppydiscen/git-workshop/raw/branch/main/install.ps1 | iex
|
||||
```
|
||||
|
||||
This will:
|
||||
- Install PowerShell 7, Git 2.23+, and Visual Studio Code
|
||||
- Clone the git-workshop repository to `~/git-workshop`
|
||||
- Leave you ready to start the workshop immediately
|
||||
|
||||
**Alternative:** If you've already cloned the repository, you can run the local installation script:
|
||||
|
||||
1. Open **PowerShell** or **Windows Terminal**
|
||||
|
||||
Reference in New Issue
Block a user