Skip to content

Ahdams/Git-GitHub-Project-Workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git-GitHub-Project-Workflow

Project Purpose

This repository is a collection of Bash scripts created to demonstrate a full Git & GitHub workflow.
It showcases repository setup, branching strategies, issue tracking, pull requests, documentation, and release management.


Features

  • hello.sh → prints a greeting message
  • backup.sh → creates a compressed backup of a directory
  • disk_check.sh → displays disk space and memory usage

All scripts are written in pure Bash, portable across most Linux systems.


Project Structure

.

  • scripts/ --- hello.sh # Prints "Hello, World!" --- backup.sh # Compresses a target folder into .tar.gz
  • .gitignore
  • LICENSE
  • README.md

Download & Execution

  • Clone the repository
    git clone https://github.com/Ahdams/Git-GitHub-Project-Workflow.git
    cd Git-GitHub-Project-Workflow
    
    
    
  • Make scripts executable
    chmod +x scripts/*.sh
    
    
  • Run a script
    ./scripts/hello.sh
    ./scripts/backup.sh /path/to/folder
    
    

Usage Examples

  • hello.sh
    ./scripts/hello.sh
    Output: Hello, <username>! Welcome to Bash script
    
    
  • backup.sh
    ./scripts/backup.sh /home/user/documents
    Output: Backup created: backup-2025-09-17.tar.gz
    
    
    

Contribution Guidelines

  • Fork this repository

  • Create a feature branch (git checkout -b feature-name)

  • Commit your changes (git commit -m "feat: add new script")

  • Push to the branch (git push origin feature-name)

  • Open a Pull Request

Known Issues / Future Improvements

  • Improve error handling in backup.sh (e.g., invalid paths)

  • Add script scheduling (using cron jobs)

  • Write automated tests with GitHub Actions

Reflection

You can read my reflection with screenshots here: REFLECTION.md

License

This project is licensed under the MIT License – see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages