Quickly amend a git commit by skipping edit

Here is the quickest way to amend a git commit

Quickly amend a git commit by skipping edit

Here’s a useful thing I’ve learned today: you can skip editing the commit text when you amend a commit with git:

git commit --amend --no-edit

I wish I knew this earlier! ;-)

As an added bonus, you can also define an alias for this in your bash profile (only if you’re lazy like me):

alias amend='git commit --amend --no-edit'

If you like living “dangerously”, you can even put a git add -A in there, but personally I prefer not to.

That's it for today! ✨

About Sébastien

I am Sébastien Dubois. You can follow me on X 🐦 and on BlueSky 🦋.


I am an author, founder, and coach. I write books and articles about Knowledge Work, Personal Knowledge Management, Note-taking, Lifelong Learning, Personal Organization, and Zen Productivity. I also craft lovely digital products . You can learn more about my projects here.

If you want to follow my work, then become a member.


Ready to get to the next level?

To embark on your Knowledge Management journey, consider investing in resources that will equip you with the tools and strategies you need. Check out the Obsidian Starter Kit and the accompanying video course. It will give you a rock-solid starting point for your note-taking and Knowledge Management efforts.


If you want to take a more holistic approach, then the Knowledge Worker Kit is for you. It covers PKM, but expands into productivity, personal organization, project/task management, and more:

Knowledge Worker Kit and community
Unlock the next level of your career. Stop feeling disorganized, unproductive, or overwhelmed.

If you are in a hurry, then do not hesitate to book a coaching session with me:

Personal Knowledge Management Coaching
Receive personalized coaching to quickly reach your goals

Subscribe to the Newsletter 💌