Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools Git Basics Merging Basic Merging

Paul Neumyer
Paul Neumyer
15,301 Points

When merging my commits on different branches in Termin I had to follow these instructions

If you are having problems merging your commits in Terminal and get the following error message:

Please enter a commit message to explain why this merge is necessary

I had to use the following steps to resolve a merge comment:

1-press "i" 2-write your merge method 3-press "esc" 4-write ":wq" then press enter

Thanks, this helped! I was running into the same issue when it came to creating commits, but did not know how to remedy the situation. Until later on in the episodes they discussed declaring a commit with: ... -m "Message of commit"

What does :wq mean?