Git Aliases and Other Fun Configuration

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

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

Log in Sign up
  • 0:03
    with Joe Shindelar]
  • 0:06
    [Joe Shindelar]: By now you've probably realized
  • 0:08
    that Git is a bit complicated,
  • 0:10
    and it's full of all of these different esoteric commands
  • 0:13
    with flags that I can't even remember the names of,
  • 0:16
    and it gets really complicated to use over time,
  • 0:20
    especially as you start introducing more and more complex operations.
  • 0:24
    In this lesson, we're going to take a look at adding aliases
  • 0:28
    for complex git commands,
  • 0:30
    so that we can type the complex command out once
Loading ...

Git Aliases and Other Fun Configuration


We've now learned about all sorts of commands in git and the flags that accompany those commands. We've also seen that some of those commands can get to be a bit long and are used quite often. In this lesson we're going to take a look at how to create command aliases in our .gitconfig file so that we can have a shorthand for acessing some of these more esoteric commands. We'll also take a quick tour of Joe's personal .gitconfig file that he uses in his day-to-day work.

Log in or sign up to download companion files.
Additional resources: