GIT: Advanced commands
What you'll learn
- Work with some advanced GIT commands
- Know how to rewrite history with squash, rebase, and reset.
- View history in the reflog, expire unreachable commits using reflog and the garbage collector
- Create linear GIT history trees
- Use Aliases
- Perform a Cherry Picking operation
- Use the stash to temporarily save changes
- Work with Tags
- Become a more advanced GIT user
- You should be familiar with GIT. You should have GIT installed on your machine, and an account at GitHub or BitBucket.
- You should know how to work with basic GIT workflows
This course is a deeper dive into GIT. As such, it is expected that you would have at least some working knowledge of GIT before you take this course. For example, you should be familiar with basic commands like "add, commit, push, pull, fetch, and merge." You should also have a basic working knowledge of working with a REMOTE repository like GitHub or BitBucket.
The first part of this course will just make sure we're setup for the remaining part of the course and serve as a simple review. This includes basic stuff like getting an account at GitHub, setting up our machine for working with GIT, and setting a few default configurations. Feel free to skip this part of the course if you are already good to go.
The bulk of the course will then take a deeper dive into the following commands:
- git commit --amend
- git reflog
- git rebase
- git config --global alias
- git fetch --prune
- git reset [both soft and hard resets]
- git clean
- git revert
- git cherry-pick
- git stash
- git tag
Additionally, we'll see what it looks like to perform different merges at GitHub to complete a pull request, including
- Squash and Merge
At the completion of this course, you'll be proficient with some of the more advanced GIT commands that we encounter when working with GIT repositories on a daily basis in the real world. You'll also have been exposed enough and understand enough about the commands to take your skills to the next level when working with GIT. You'll also know what it takes to make and keep your tree linear in your GIT history, and you'll have tools to rescue your repository when things get a bit tricky.
Who this course is for:
- Beginner to Intermediate GIT users
- Anyone who wants to learn about some of the more advanced features of GIT
- Someone who is looking to be a team lead and needs to improve their GIT skills
- Anyone that needs to be able to have source control on important files [code, images, documents, spreadsheets, etc]
Brian is an experienced speaker, author, trainer, and .Net developer with MCSA: Web App Certification, MCSD: App Builder, AZ-900/104/204/400, DP-900/300, and MCT certifications. Brian has a masters of science degree in computer information systems, and a bachelor of science degree in computer science. Additionally, Brian has over ten years of experience instructing college courses online in SQL databases, C#/VB .Net programming, Java programming, and Microsoft Office. Brian also recently had his first APress book "Practical Entity Framework" published.