Skip to content

This script fetches all branches in a git repository, displays their creation and last update dates in a formatted table.

License

Notifications You must be signed in to change notification settings

trne/git-banch-dates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

git-branch-dates

Overview

git-branch-dates is a shell script designed to fetch all branches in a Git repository and display their creation and last update dates in a neatly formatted table. This script can be useful for understanding the lifecycle of branches in a project.

Features

  • Lists all local and remote branches.
  • Displays creation and last update dates for each branch.
  • Provides a clear and formatted output to help with branch management.

Setup Instructions

Download and Install

  1. Download the script: Save the git-branch-dates script to your preferred directory.

    For macOS and Linux, you can use the following command to place it in a globally accessible location:

    sudo nano /usr/local/bin/git-branch-dates
  2. Make the script executable by running:

    sudo chmod +x /usr/local/bin/git-branch-dates
  3. To use the script globally, run:

    git-branch-dates

    This command will display the branch dates from any Git repository on your system.

About

This script fetches all branches in a git repository, displays their creation and last update dates in a formatted table.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages