This repository contains my solutions for the exercises found on Learn Git Branching. After completing all available lessons, I decided to share these solutions to help others who might find them useful.
If you're having trouble with an exercise, simply click the specific link below to explore the solutions. Each lesson has its own file, named exactly like the lesson title.
If you prefer to download all solutions at once to work on them locally, follow these steps:
- Clone the repository:
git clone https://github.com/dnepochitoj/learn_git_branching_solutions - Change to the cloned directory:
cd learn_git_branching_solutions - To access these solutions, open the corresponding
.mdfile in your preferred text editor or Integrated Development Environment (IDE) and review the code.
A nicely paced introduction to the majority of git commands
- 1.1.1. Introduction to Git Commits
- 1.1.2. Branching in Git
- 1.1.3. Merging in Git
- 1.1.4. Rebase Introduction
The next serving of 100% git awesomes-ness. Hope you're hungry
- 1.2.1. Detach yo' HEAD
- 1.2.2. Relative Refs (^)
- 1.2.3. Relative Refs #2 (~)
- 1.2.4. Reversing Changes in Git
"Git" comfortable with modifying the source tree :P
A mixed bag of Git techniques, tricks, and tips
- 1.4.1. Grabbing Just 1 Commit
- 1.4.2. Juggling Commits
- 1.4.3. Juggling Commits #2
- 1.4.4. Git Tags
- 1.4.5. Git Describe
For the truly brave!
Time to share your 1's and 0's kids; coding just got social
- 2.1.1. Clone Intro
- 2.1.2. Remote Branches
- 2.1.3. Git Fetchin'
- 2.1.4. Git Pullin'
- 2.1.5. Faking Teamwork
- 2.1.6. Git Pushin'
- 2.1.7. Diverged History
- 2.1.8. Locked Main
And you thought being a benevolent dictator would be fun...
- 2.2.1. Push Main!
- 2.2.2. Merging with remotes
- 2.2.3. Remote Tracking
- 2.2.4. Git push arguments
- 2.2.5. Git push arguments -- Expanded!
- 2.2.6. Fetch arguments
- 2.2.7. Source of nothing
- 2.2.8. Pull arguments
If you find any errors or have suggestions for improvements, please feel free to submit a pull request. Contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.