I'm new to version control so I picked git for a project I'm working on. Let's say I have the following commits:
Is there an easy way to pull out commit 1 and the changes in 2 & 4 only?
- Commit 1: All existing code.
- Commit 2: Modified files a, b.
- Commit 3: Modified files c, d.
- Commit 4: Fixed bug in a from changes in commit 2.
- Commit 5: Modified files e, f.
Is there an easy way to pull out commit 1 and the changes in 2 & 4 only?