---
title: "Discussion on \"Git Squash and rebase\" | Hashnode"
description: "Discussion on \"Git Squash and rebase\". Squashing and rebasing the commits is one of the important parts of Github. so here we will see how it works.\n rebasing your branch with the master branch. suppose you are in your working branch\n\ncommit all your files.\ngit checkout master\ngit pull or..."
url: "https://hashnode.com/posts/git-squash-and-rebase/604352288458d42fc821aeb9"
---

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

Discussion

# [Git Squash and rebase](https://nikhilbhatt.hashnode.dev/git-squash-and-rebase?utm_source=hashnode&utm_medium=feed)

Squashing and rebasing the commits is one of the important parts of Github. so here we will see how it works. rebasing your branch with the master branch. suppose you are in your working branch commit all your files. git checkout master git pull or...

Mar 6, 2021 · 2 min read · nikhilbhatt.hashnode.dev  
Read the article

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

## Written by

[Nikhil Bhatt](https://hashnode.com/@nikhilbhatt)

@nikhilbhatt

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

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
