1

How can I amend part of files of last commit after push? I don't want ot create a new commit, but it's acceptable to squash a new commit into the previous commit.

samm
  • 620
  • 10
  • 22

1 Answers1

2

The short answer is Never ever modify a commit that is already pushed.

The long answer can you find here

Noffls
  • 5,397
  • 2
  • 29
  • 36