News for hackers. Stuff that matters.
Re:Some bad Git situations and how I got myself out of them by atsaloli on Friday September 09, 2016 @11:09AM (#12462911)
There is no substitute for understanding what's going on, especially using a power tool like Git.

It's a cute website, and useful, I really like it. This sentence,

    Bizarrely, git won't do a dif of files that have 
    been add-ed to your staging area without this flag.
    File under ¯\_(ツ)_/¯"
just screams to me (a professional Git trainer), "I don't understand the Git staging area! I don't know my Git fundamentals! Train me!"
Re:Some bad Git situations and how I got myself out of them by runeb on Friday September 09, 2016 @11:32AM (#12463139)
For people wondering about this: Add --cached or --staged (synonyms) to scope to the staging area.
Re:Some bad Git situations and how I got myself out of them by Kratisto on Friday September 09, 2016 @11:11AM (#12462927)
Any resources you recommend for learning git in more detail?
Re:Some bad Git situations and how I got myself out of them by atsaloli on Friday September 09, 2016 @11:26AM (#12463077)
1. Our "Git Fundamentals: Basic Concepts and Definitions" webinar, http://www.verticalsysadmin.com/git/ (you have to register) lays the groundwork you need to start studying Git.

If you have a team that needs Git training, email me and we can deliver a instance of this webinar (complete with Q&A session) free of charge (as an introductory service).

2. For someone just starting out, I also recommend "Learn Enough Git to be Dangerous", https://www.learnenough.com/git-tutorial (HTML version available for free), from @mhartl, author of the popular RailsTutorial.org

3. The "Pro Git" book is great. https://git-scm.com/book/en/v2 A comprehensive resource.