• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

* Welcome Raju Gandhi

 
author & internet detective
Posts: 41905
909
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This week, we're delighted to have Raju Gandhi helping to answer questions about the new book Head First Git.
See the table of contents online.

The promotion starts Tuesday, March 15th, 2022 and will end on Friday, March 18th, 2022

We'll be selecting four random posters in this forum to win a free copy of the book provided by the publisher, O'Reilly.


Image from https://m.media-amazon.com

Please see the Book Promotion page to ensure your best chances at winning!

Posts in this welcome thread are not eligible for the drawing, and should be reserved for welcoming the author. Questions posted in this topic are subject to removal.
 
Marshal
Posts: 79390
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch I hope you have lots of awkward interesting questions to answer.
 
Ranch Hand
Posts: 144
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amazing to have Raju in the Book Promotions.
Kudos to Raju!

Btw. Is the schedule outdated? There lists "Head First Git" to start on March 22.  
https://coderanch.com/wiki/660305/Book-Promotions-Schedule
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a book we all need!  Looking forward to reading.
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Amazing subject picked up by Raju, waiting to read it !!
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Finally someone took the time!!! SUPER thank you!
 
Author
Posts: 37
7
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks to everyone for the warm welcome. I appreciate the kind words, and I do hope some of you get a chance to check out the book. I've been using Git since 2009, and feel like I was very proficient in it since 2013. I'll admit—I walked into this project thinking it would be an easy write, and boy was I wrong. Creating all the characters, narratives, and scenarios for each chapter—coming up with interesting exercises and puzzles, and finally laying the whole book out was a long, but very rewarding journey.

One thing I tried to do this in book was to find a balance between the how and why, and in particular, the what. By "what" I mean, what exactly happens when you create a commit, or a branch—what happens when you push or pull, or do a Git bisect. So while the book is targeted towards beginners, I feel that it will also help many who've for long used Git in anger, and not had a chance to step back and truly understand how Git really works, which I feel is a essence of really grokking something (you know, understanding one level of abstraction below you and all that).

I guess what I am trying to say, and was hoping I'd achieve in the book is that it helps even those who aren't just new to Git, but often struggle to understand why they do some things. For example, and I know I am guilty of this a long time ago, have you ever done this?



If yes, did you know there is a --mixed and a --soft. And that usually you are better off not doing a --hard. Of course, the question is—what's the difference? I have tried to include bit like these in every chapter, and one consistent comment I got from all my technical reviewers was that they came across not just one or two, but several bits of nuance about Git that they, as experienced folks took away.

Anyway, please reach out if you have questions. Like I said in my intro post, always have to talk Git, DevOps, software development, GitOps, containers what-have-you.

 
Ranch Hand
Posts: 140
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome !
I read this book in January. It's excellent. I'm spending a lot of time with tutorials these days and it is such a relief to come across one this well written. You did a great job of creating examples and explanations of what is going on with this less-than-intuitive program.
Thank you!
 
Author
Posts: 44
5
Python VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome Raju! Have fun with this promotion!
 
Ranch Hand
Posts: 343
Mac OS X Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome Raju. Love that you created Head First Git.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Raju, Does your book shed some light on the merge vs. rebase when using remote repos?
 
Raju Gandhi
Author
Posts: 37
7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow! I am very touched.

@Phil Freihofner - Thank you for the kind words. I am glad you enjoyed it. If it helps, I am @looselytyped on Twitter (https://twitter.com/looselytyped) and DMs are open—so if you have any questions, please reach out.

@Alan Dickinson - No it does not. It recommends using merge to "catch up" with the integration branch, and discusses rebase as a standalone topic. The book is designed to be for beginners, and I purposely did not want to give folks too many options starting out. Though I feel that if you know what the effects of a merge are as opposed to those of a rebase, you can eventually evolve a workflow that works for you.

I realize you did not ask—but my workflow is

- Create a feature branch. Work on it
- Update integration (main, master, develop what-have-you) with a fetch/pull
- Rebase my topic branch on top of integration branch
- Push my branch upstream

My fellow contributors have learned that I routinely rebase, and so if they _did_ switch to my feature branch so they could review it, or test it, never to pull on that branch. Rather they fetch followed by a git reset --hard origin/<name-of-feature-branch>. Hope this helps.
 
Ranch Hand
Posts: 51
1
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome Raju.  This is a great forum.  Glad you are here.
 
Campbell Ritchie
Marshal
Posts: 79390
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rick Umali: good to see you too. I have a copy of your book about Git. It will make the discussions even more interesting if you stay around on this forum for the rest of the week.
 
Raju Gandhi
Author
Posts: 37
7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you @Dustin Wright and @Campbell Ritchie!

And I did not realize we had @Rick Umali here! Woot! I have read your book, and I thought it was a great read.

Regards,
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic