Quicker Git Commits and Modifying Previous Commits

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:02
    [Introduction to Git] [Chapter 11 with Joe Shindelar]
  • 0:05
    This lesson is all about using the git commit command
  • 0:09
    and some of the more advanced options that it provides.
  • 0:12
    We're going to take a look at ways that we can use it
  • 0:14
    to improve our workflow.
  • 0:17
    We're going to start by looking at how we can commit a file
  • 0:20
    and add a message all with a single command,
  • 0:23
    and then we'll take a look at how we can commit a file
  • 0:26
    and add the file and the message all with a single command
  • 0:30
    in order to speed things up a little bit.
Loading ...

Quicker Git Commits and Modifying Previous Commits

Loading...

In this lesson we revisit the 'git commit' command and take a look at some of the additional things you can do with it like amending a previous commit and some shorthand methods for creating commits more quickly. Then we'll look at using the interactive rebase command which will allow us to reword commit message and do other things like squash two commits into a single commit when performing a rebase.

Additional resources: