mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
- Add comprehensive wiki documentation under .github/wiki/ (19 articles) - Add READMEs to directories that lacked them - Fix merge conflict markers in existing READMEs - Update root readme.md with improved structure Co-authored-by: Jarvis <jarvis@wickedyoda.local>
50 lines
839 B
Markdown
50 lines
839 B
Markdown
# git_clone_setup
|
|
|
|
## Overview
|
|
|
|
Helper scripts and documentation for cloning Git repositories.
|
|
|
|
---
|
|
|
|
## Files
|
|
|
|
| File | Description |
|
|
|------|-------------|
|
|
| `Git_clone_local_checkout.md` | Markdown guide |
|
|
| `README.md` | This file |
|
|
|
|
---
|
|
|
|
## Usage
|
|
|
|
### Clone a Repository
|
|
|
|
```bash
|
|
# Standard clone
|
|
git clone https://github.com/user/repo.git
|
|
|
|
# With depth (faster)
|
|
git clone --depth 1 https://github.com/user/repo.git
|
|
```
|
|
|
|
### Check Existing Checkout
|
|
|
|
```bash
|
|
# The Git_clone_local_checkout.md contains a checklist
|
|
# Read it for step-by-step instructions
|
|
```
|
|
|
|
---
|
|
|
|
## Best Practices
|
|
|
|
- Always check the default branch before cloning
|
|
- Use `--depth 1` for shallow clones when appropriate
|
|
- Keep clones updated: `git pull`
|
|
|
|
---
|
|
|
|
## Related Scripts
|
|
|
|
- `update-from_repo.sh` — Automated repo sync
|
|
- `update-from_repo.py` — Python version |