Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 07 Jul 14:43
5031d14

Gitok supercharges your Git workflow with 35+ custom commands and aliases designed to make Git operations faster and more intuitive.

✨ Key Features

🔧 Core Git Operations

  • commit "message" - Stage all changes and commit with message
  • push - Push to current branch with safety checks
  • pushall - Push to all configured remotes with rebase
  • pull - Pull with automatic rebase
  • status - Enhanced git status display

🌿 Branch Management

  • branch <name> - Create and switch to new branch
  • checkout <name> - Switch to existing branch
  • branches - List all branches with details
  • deletebranch <name> - Safely delete branch

📈 Advanced Features

  • unpush - Safely undo last push (with confirmation)
  • squashlast [N] - Squash last N commits
  • graphlog - Beautiful commit history visualization
  • makeignore <type> - Generate .gitignore templates

🛠️ Productivity Tools

  • gitcheatsheet - Interactive command reference
  • gitok --update - Auto-update to latest version
  • gitok --version - Show version information
  • Safety confirmations for destructive operations

📦 Installation

🐧 Linux & macOS

bash <(curl -sL https://raw.githubusercontent.com/okwareddevnest/gitok/main/install.sh)

🪟 Windows Users

Option 1: WSL (Recommended)

wsl bash -c "curl -sL https://raw.githubusercontent.com/okwareddevnest/gitok/main/install.sh | bash"

Option 2: Git Bash

bash <(curl -sL https://raw.githubusercontent.com/okwareddevnest/gitok/main/install.sh)

Option 3: PowerShell (Run as Administrator)

iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/okwareddevnest/gitok/main/install-windows.ps1'))

Option 4: Download & Run Batch File
Download: install-windows.bat

✅ Verify Installation

# Restart your terminal or run:
source ~/.bashrc  # or source ~/.zshrc

# Test installation
gitok --version
gitcheatsheet

🔄 Updates

# Auto-update to latest version
gitok --update

# Check current version
gitok --version