# Git hacks - a set of my favorite git aliases

DevFeed: [Git hacks - a set of my favorite git aliases](<https://devfeed.tech/articles/git-hacks-a-set-of-my-favorite-git-aliases-27686.md>)

Original publisher: [Read original article](<https://gagor.pro/2024/01/git-hacks-a-set-of-my-favorite-git-aliases/>)

Author: Tom

Published: 2024-01-27T00:00:00Z

Content type: article

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [bitbucket](<https://devfeed.tech/topics/bitbucket.md>), [pull-requests](<https://devfeed.tech/topics/pull-requests.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [bitbucket](<https://devfeed.tech/tags/bitbucket.md>), [commands](<https://devfeed.tech/tags/commands.md>), [commit](<https://devfeed.tech/tags/commit.md>), [git](<https://devfeed.tech/tags/git.md>), [git-aliases](<https://devfeed.tech/tags/git-aliases.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [pull-requests](<https://devfeed.tech/tags/pull-requests.md>)

## AI overview

An overview of the author's favorite Git aliases for simplifying status and log checks, commits, branch management, reverts, and Bitbucket navigation. The article also describes aliases for extracting Jira ticket numbers and managing commit messages.

## Source excerpt

I use Git a lot, even writing this article i will commit text few times. There's a set of aliases I rely on daily and they're first I add in new place. Some Git commands are unnecessarily verbose. You can make your life much easier with bash-completions, but if you write it tens of times per day, it's anyway a lot of typing... and I'm a lazy man 😄 Simple status/log checks git s s = status --short --branch --untracked-files Shows a short, branch-focused status with untracked files.