SAGARFIVE

1. Introduction

2. Git Basics

3.  Git Terminology

4.  Git Branching

5.  Git - Github

6.  Git Add (Git staging)

7.  Git Commit

8.  Github Advanced

9.  Git Remote

7.5 Git rebase reword (Renaming Old Commits)

  • If it is necessary to change the commit message for an old commit or a set of commits, then an interactive rebase can be used:
  • git rebase -i HEAD~n, Where n is the number of commits to display.
  • Let’s add some commits and try to change the messages

We can see the log responce , six is renamed as six-two.txt