Ask A Question

Notifications

You’re not receiving notifications from this thread.

Syncing Repositories with Ruby Scripts - Part 1 Discussion

Nice tutorial. Why git fetch followed by git pull and not just a single git pull?

Reply

Hey Gary, initially I was going to hook into the get fetch step and provide an interface there to provide an option of how to proceed based on the fetch but for this initial pass at building this out a single git pull would have probably been a good call and then build out from there. Thanks for the question! Always nice to get another perspective and reflect back on decisions :)

Reply

Thanks, I figured it was something along those lines but I wanted to make sure there wasn't something about fetch/pull that I wasn't aware of. Very well done videos. Thanks for the lessons(s)

Reply

Thanks, Gary! I appreciate the kind words about the lessons!

Reply

This was a great video. I learned a ton! On to Part 2.

Reply

This made my day to hear. Thanks, Mitch! I'm super glad you learned a bunch and hope you enjoy part 2!!!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,969+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.