Repository navigation
v1.2.0 - Release with Justfile and Enhanced Git Command Support
Overview
This release enhances the project creation scripts by adding a justfile with a set of Git commands to streamline version control workflows. The scripts have been tested on Windows 11 and ArchLinux for compatibility.
Features
create.bat: For Windows via CMD, now creates ajustfilealongside the basic project structure.create.sh: For Linux/macOS via Bash, now creates ajustfilealongside the basic project structure.create-scss.bat: For Windows via CMD, scaffolds SCSS 7-1 structure and includesjustfile.create-scss.sh: For Linux/macOS via Bash, scaffolds SCSS 7-1 structure and includesjustfile.- Automatic project numbering (e.g.,
pr0,pr1) for unique project folders. justfileincludes the following Git commands:just create-branch: Creates and switches to a new branch frommain.just push-current: Commits and pushes changes to the current branch.just merge-current: Merges the current branch intomainand pushes to origin.just merge-to-main: Merges a specified branch intomainand pushes to origin.just push-and-merge: Commits, pushes the current branch, merges it intomain, and pushes to origin.just undo-last-commit: Reverts the last commit in the current branch with a force push.just undo-last-merge: Reverts the last merge inmainand the associated branch changes.
- Includes pre-populated
index.html,style.css(or SCSS 7-1 structure for SCSS scripts), and.gitignore. - Tested on Windows 11 and ArchLinux.
Usage
- Windows: Run
create.batorcreate-scss.batto generate the project structure andjustfile. - Linux/macOS: Run
chmod +x create.shand./create.shorchmod +x create-scss.shand./create-scss.sh. - Use
justcommands (e.g.,just create-branch,just push-and-merge) for Git operations after installing Just.
Assets
create.bat— Windows script for basic project setup.create.sh— Linux/macOS script for basic project setup.create-scss.bat— Windows SCSS 7-1 script.create-scss.sh— Linux/macOS SCSS 7-1 script.