mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 14:30:59 -05:00
initialize git when setting up project
This commit is contained in:
parent
32d3fe5ed7
commit
15220f9d21
1 changed files with 7 additions and 8 deletions
|
|
@ -140,7 +140,7 @@
|
|||
# Create essential files
|
||||
if [[ ! -f "README.md" ]]; then
|
||||
cat > README.md << 'EOF'
|
||||
# $PROJECT_NAME
|
||||
# RDE
|
||||
|
||||
## Project Structure
|
||||
- `data/`: Data files (gitignored)
|
||||
|
|
@ -149,16 +149,15 @@
|
|||
- `tables/`: Output tables
|
||||
- `src/`: Source code
|
||||
|
||||
## Usage
|
||||
- Julia environment: `$PROJECT_NAME-jl`
|
||||
- Python environment: `$PROJECT_NAME-m` (Marimo)
|
||||
- R environment: `$PROJECT_NAME-r`
|
||||
- Neovide: `$PROJECT_NAME-g`
|
||||
- Neovim: `$PROJECT_NAME`
|
||||
- Update: `$PROJECT_NAME-updateDeps`
|
||||
EOF
|
||||
fi
|
||||
|
||||
# Initialize git
|
||||
if [[ ! -d ".git" ]]; then
|
||||
git init
|
||||
echo "✓ Initialized empty Git repository"
|
||||
fi
|
||||
|
||||
# Create .gitignore
|
||||
if [[ ! -f ".gitignore" ]]; then
|
||||
cat > .gitignore << 'EOF'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue