Update tech_docs/git_additional.md
This commit is contained in:
@@ -1,17 +1,23 @@
|
|||||||
# Move the files
|
# Move the files
|
||||||
|
```bash
|
||||||
mv generate_analysis.py src/generate_analysis.py
|
mv generate_analysis.py src/generate_analysis.py
|
||||||
mv main.py src/main.py
|
mv main.py src/main.py
|
||||||
mv mandelbrot_non_vectorized.py src/mandelbrot_non_vectorized.py
|
mv mandelbrot_non_vectorized.py src/mandelbrot_non_vectorized.py
|
||||||
mv mandelbrot_vectorized.py src/mandelbrot_vectorized.py
|
mv mandelbrot_vectorized.py src/mandelbrot_vectorized.py
|
||||||
|
```
|
||||||
# Stage the changes
|
# Stage the changes
|
||||||
|
```bash
|
||||||
git add src/generate_analysis.py src/main.py src/mandelbrot_non_vectorized.py src/mandelbrot_vectorized.py
|
git add src/generate_analysis.py src/main.py src/mandelbrot_non_vectorized.py src/mandelbrot_vectorized.py
|
||||||
|
```
|
||||||
# Remove the old file paths
|
# Remove the old file paths
|
||||||
|
```bash
|
||||||
git rm generate_analysis.py main.py mandelbrot_non_vectorized.py mandelbrot_vectorized.py
|
git rm generate_analysis.py main.py mandelbrot_non_vectorized.py mandelbrot_vectorized.py
|
||||||
|
```
|
||||||
# Commit the changes
|
# Commit the changes
|
||||||
|
```bash
|
||||||
git commit -m "Reorganize project structure: move scripts to src directory"
|
git commit -m "Reorganize project structure: move scripts to src directory"
|
||||||
|
```
|
||||||
# Push the changes
|
# Push the changes
|
||||||
|
```bash
|
||||||
git push origin main
|
git push origin main
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user