Skip to content

PexoDev/git-alias-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git Alias Library

This repository contains my personal collection of custom Git aliases that I use to streamline my workflow. Everything here is designed to work on Windows PowerShell but bash version is also included.

Feel free to cherry‑pick, fork or straight away steal those in any other fashion.

Installation

Run the helper script for your shell from the root of this repo:

# PowerShell
./install-aliases.ps1
# Bash
./install-aliases.sh

Or cherry-pick any aliases you would like.

Alias List

Alias What it does
s Shortcut for git status.
c Shortcut for git commit -m. Example use: git c "Init repo"
ac Stage everything and commit with the message you supply. git ac "Add login feature"
amend Shortcut for git commit --amend --no-edit
history, h A concise summary of the last 10 commits history.
last, l One‑liner view of the most recent commit.
unstage Unstages all files but keeps the changes
uncommit Undoes the last commit but keeps the changes staged.
nuke Force‑sync current branch to its remote upstream, discarding all local commits & untracked files. If the name doesn't give it away - this command is destructive! Use with caution.
aliases List every alias in your config.

License

This repository is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published