Skip to content

ehzan/hit-the-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hit the Git

This repository contains a collection of Bash scripts that simplify and automate common Git operations.

🪄 Usage

  • Run a script using bash command:
    source <scriptname>.sh
  • Or, make it executable and run directly:
    chmod +x <scriptname>.sh
    ./<scriptname>.sh

🐳 Run in a Docker Sandbox (Optional)

Run or test the scripts in an isolated container (you may need sudo access):

docker build -t bash-env .
docker image prune
docker run -it --rm --privileged -v "$PWD":/hit-the-git bash-env

What this does:

  • Builds a Docker image from the included Dockerfile
  • Prunes dangling docker images after building
  • Mounts the current repository into /hit-the-git inside the container
  • Starts an interactive Bash environment with Git available

🛠️ Prerequisites

About

A tutorial for Git basic concepts and commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •