Unlock your potential with a Pro Membership
Here is where you propel your career forward. Come join us today. Learn more.
Alias – Reword (Fix) Last Commit Message
Lab: Git Productive
Video Runtime: 05:42
In Simply Git, you learned how to fix the last commit message. Let’s build an alias.
Caution
Amending a commit to fix its message has a catch: If there are staged changes, those will be added to the last commit. Therefore, only run git reword
when there are no changes. Typically, you will run this command right after you made a commit, at the point where you realize that you made a typo or forgot to reference a ticket or issue number.
You will grow in this profession when you incrementally and systematically stretch yourself....bit-by-bit.
Episodes
Total Lab Runtime: 01:57:49
- 1 Lab Introductionfree 03:20
- 2 Alias - Display the Graphical Logfree 04:24
- 3 Delete or Rename an Aliaspro 03:00
- 4 Alias - Display the Last Commit's Logpro 02:16
- 5 Alias - Display Less Verbose Statuspro 05:32
- 6 !f() - Build Complex Aliasespro 10:43
- 7 Prep for Complex Aliasespro 05:43
- 8 Alias - Stage All Changespro 07:26
- 9 Alias - Unstage All Changespro 03:28
- 10 Alias - Unstage a Specific Change or Allpro 08:53
- 11 Alias - Commit All Changes from Working and Stagingpro 08:55
- 12 Alias - Uncommit Last Commitpro 04:12
- 13 Alias - Reword (Fix) Last Commit Messagepro 05:42
- 14 Alias - Reword (Fix) Last Commit Message Without Adding WIPpro 10:35
- 15 Alias - Add New Changes to Last Commit & Keep Messagepro 05:00
- 16 Alias - Rollback to Last Commitpro 07:01
- 17 Alias - Create and Checkout New Branchpro 02:31
- 18 Alias - Delete Local and Remote Branchpro 09:23
- 19 Alias - Rename Current Branchpro 04:46
- 20 Wrap it Uppro 04:59