---
title: "🔱 Git Commands You Didn't Know"
url: https://daily.dev/posts/git-commands-you-didn-t-know-u1f6mkkqz
source_url: https://dephraiim.hashnode.dev/git-commands-you-didnt-know
type: article
source: "Hashnode"
published: 2020-09-27T19:18:56.135Z
updated: 2021-10-07T14:17:10.317Z
reading_time: 4
upvotes: 20
comments: 2
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 🔱 Git Commands You Didn't Know

**[Hashnode](https://daily.dev/sources/hashnode)** · 4 min read · 20 upvotes · 2 comments

## Summary

Git supports aliases which means you can give your commands any name you want. I prefer to set aliases for really long commands to avoid searching for them everytime I need it. The alias config in Git works like this:git config --global alias .[new_alias] "[previous_git_command]"

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dephraiim.hashnode.dev/git-commands-you-didnt-know>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

[View this post on daily.dev](https://daily.dev/posts/git-commands-you-didn-t-know-u1f6mkkqz)
