---
title: "Discussion on \"Git alias for squashing experimental commits\" | Hashnode"
description: "Discussion on \"Git alias for squashing experimental commits\". With git, it is possible to commit several times in one branch, then squash those commits together when merging into another branch. I most often use this workflow for experimental work. I'll have a feature branch which is what I will create a pull r..."
url: "https://hashnode.com/posts/git-alias-for-squashing-experimental-commits/6201096e295d27600677677f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Git alias for squashing experimental commits](https://techblog.timhilton.xyz/git-alias-for-squashing-experimental-commits?utm_source=hashnode&utm_medium=feed)

With git, it is possible to commit several times in one branch, then squash those commits together when merging into another branch. I most often use this workflow for experimental work. I'll have a feature branch which is what I will create a pull r...

Feb 7, 2022 · 1 min read · techblog.timhilton.xyz  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#workflow](https://hashnode.com/tag/workflow)

## Written by

[Tim Hilton](https://hashnode.com/@tjhilton)

@tjhilton

  
[View profile](https://hashnode.com/@tjhilton)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
