Unlock your potential with a Pro Membership
Here is where you propel your career forward. Come join us today. Learn more.
Alias – Commit All Changes from Working and Staging
Lab: Git Productive
Video Runtime: 08:55
Recall from Simply Git and Git Contributing how to commit changes. It is a two-step process of adding the changes from working into staging and then running git commit
to move from staging into the storage (commit) area. Git gives you a way to combine those steps into one step.
Typically, my workflow is:
- Commit the changes
- Pop open the editor
- Add my commit message
- Clear off the command line console
- View the status display
- View the log
That’s a lot of steps to type over and over again. Let’s build a complex alias to give us one command git commita
to run, a command that runs all of these steps for us.
Hands off the keyboard. Web development starts by thinking first, then planning it out, and then coding it.
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