Buying for a Team? Gift This Course
Wishlisted Wishlist

Please confirm that you want to add Short and Sweet: Advanced Git Command-Line Mastery to your Wishlist.

Add to Wishlist

Short and Sweet: Advanced Git Command-Line Mastery

Save time, avoid pitfalls, and defeat confusion. Master your own local Git workflow with Git's most powerful commands!
4.7 (3 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,070 students enrolled
Created by Stephanie Losi
Last updated 11/2016
$10 $50 80% off
4 days left at this price!
30-Day Money-Back Guarantee
  • 1.5 hours on-demand video
  • 3 Articles
  • 3 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Have a coupon?

Are you a software developer who uses Git version control, or needs to start using it for work or a side project?

This 2-hour advanced command-line course takes away the guesswork. It builds on my free, introductory course Short and Sweet: Get Started with Git and GitHub Right Now and my intermediate-level collaboration course to tackle tough topics like 'git reset', recovering lost commits and searching source-code file contents.

Save time and master your local Git workflow - fast!

Using Git on the command line can seem difficult because the commands are exacting, and they can trip you up if you get out of sync - but Git is very powerful and absolutely essential for modern software developers.

That's because Git has become a mainstay of modern software version control.

In less than 2 hours, this Short and Sweet course will take you from intermediate to advanced command-line Git skills, without a lot of filler. At the end of the course, you'll be able to roll back changes with 'git reset', un-stage or remove files with 'git rm', navigate the git log with confidence, recover lost commits from the reflog, use 'git grep' to find text in your source code files, and compare changes across commits and branches with 'git diff'.

That's a great trade for 2 hours of your time!

Please note: This is a command-line-based course designed to get you productive FAST. This course assumes you already have a GitHub account, have installed Git on your computer, and have pushed your first commit. It also assumes you have basic knowledge of Git and GitHub collaboration, branching and merging.

If you haven't used Git before, please enroll for free in my 30-minute introductory course Short and Sweet: Get Started with Git and GitHub Right Now. And if you've only used Git for solo projects, you may get more out of this course if you take a course on Git and GitHub collaboration first.

But if you've already taken the introductory course, you're somewhat familiar with basic Git and GitHub collaboration workflows, and you're ready to master your local Git workflow, this course IS for you and I hope you'll enroll.

Second note (for serious students ONLY!): This course works best if you dive in and type the commands in your own local Git repository while watching the lectures. (Please use a non-mission-critical repository for learning purposes!)

Of course, you can always just watch the lectures and take notes, which should give you some base of knowledge about how to navigate the local Git command-line.

But I encourage you to choose the active approach. I'm here to support the course, and if you put in the work and reach out when you have questions, I will put in the work to help you succeed.

My goal is to make this course series the best-ever guide to getting GOOD at Git on the command-line, starting from zero with the intro course and proceeding through competent mastery. Please let me know if anything in the course could be clearer, and I'll be happy to help you. It also will help me improve the course.

If you're ready to learn more and sign up for the course, go ahead and hit that Enroll button - Udemy offers a 30-day refund guarantee, so there's no risk to you!

Who is the target audience?
  • Anyone who wants to improve their productivity fast using command-line Git
  • Anyone who wants to improve their local Git workflows
  • If you've never used Git and GitHub or aren't familiar with the basic workflow to push commits, this course is not for you - take a free introductory course first, please!
Students Who Viewed This Course Also Viewed
What Will I Learn?
Understand the 'git reset' workflow and its pitfalls
Navigate and search the git log and repository from the command line
Recover lost commits from the git reflog
Configure multiple remote repositories
Full support from the instructor to get you started
Note: The course demonstrates Git use on a Mac, but resources are provided for Windows users, and if you run into snags, I'll do my best to help you
View Curriculum
  • A GitHub account and Git command-line tools installed on your local computer
  • Familiarity with the basic Git command-line workflow to push commits to GitHub or another remote repository
Curriculum For This Course
Expand All 18 Lectures Collapse All 18 Lectures 01:40:06
Start Here - Introduction and Setup
18 Lectures 01:40:17

This lecture introduces the course and its prerequisites.

Preview 03:28

This lecture reviews the basic Git workflow and introduces a new workflow: the 'git reset' workflow.

Preview 02:50

This lecture shows you how to use 'git reset --soft' to roll back from committed files to staged files.

Using 'git reset --soft'

This lecture demonstrates how to use 'git reset --mixed' to roll back from committed files to modified files, and how to use 'git reset --hard' to entirely erase changes when rolling back to the prior commit.

Using 'git reset --mixed' and 'git reset --hard'

This lecture walks you through several examples of the 'git reset' workflow and introduces the idea of rolling back multiple commits.

Practicing the 'git reset' Workflow

This lecture provides a written comparison of three different uses of the 'git reset' command, plus a downloadable chart as a supplemental resource.

Comparison Chart: 'git reset' Soft, Mixed, and Hard

This lecture introduces the git log and walks you through navigating it on the command line.

Introducing the git log

This lecture shows how the git log can be useful when rolling back more than one commit with 'git reset'.

Using the git log to Know Your Location

This lecture introduces the git reflog and walks you through one way of recovering a lost commit from the reflog.

Recovering Lost Commits with the Git Reflog

This lecture demonstrates how to search through the git log's commit message history using 'git log --grep'. It also shows how 'git log --graph' can illustrate merge history.

Searching Commit Messages in the git log with Grep

This lecture walks you through using 'git grep' to search the contents of files in your software project directory.

Searching Source Code Files in the Project Directory with 'git grep'

This lecture demonstrates how to search through the contents of deleted files - with one important exception!

Searching Deleted File Contents with 'git rev-list --all' and 'git grep'

This lecture shows you how to use 'git diff' in three ways to compare different versions of your software project.

Preview 11:53

This downloadable PDF compares the three ways to use 'git diff' we learned in the prior lecture.

Preview 01:17

Removing Committed Files with 'git rm'

Git and GUI Alternatives and Course Wrap-Up

This lecture provides next steps and additional resources for students who complete the course and want to learn more about git and alternatives.

Next Steps and Additional Resources
About the Instructor
4.3 Average rating
1,941 Reviews
30,561 Students
5 Courses
Tech Consultant and Trainer at 219 Labs, Inc.

Stephanie is a software developer, IT risk management expert and former journalist who loves learning. After several false starts, she taught herself to program in 2012 and wants to teach programming the way she wishes it had been explained to her. In addition to delivering online training courses through 219 Labs, her projects include developing a software tool that allows you to program in plain English. She has a master's degree in information security policy and management from Carnegie Mellon University, a bachelor's degree in journalism from Northwestern University, and attended Recurse Center (formerly Hacker School) in 2014. Her interests include organic food, art, travel and doing good work.

Report Abuse