news.volyx.in

99% of the Git commands you'll need at work, demonstrated in a single script (bitbucket.org)

659 points by carodgers · 2566 days ago · 154 comments on HN

Article summary

The article appears to demonstrate a script that covers 99% of the Git commands needed at work, although the article text itself is not available. The discussion revolves around the usefulness of various Git commands and the complexity of the Git model. Some commenters share their frequently used Git commands, while others discuss the importance of understanding Git's underlying model. The conversation also touches on the use of GUI clients and alternative interfaces to Git.

Main themes

  • Git commands and usage
  • Git model and complexity
  • GUI clients and alternative interfaces
  • Git history and logging
  • Training and mastery
  • Workflows and policies
  • Version control systems comparison

What commenters say

  • Some users find Git's model intuitive and easy to work with, while others consider it a mess that is hard to explain.
  • The list of essential Git commands can be shortened to basic commands like add, commit, and push, with more complex commands being handled by policies or GUI clients.
  • Understanding Git's underlying model is crucial for effective use, and reading the official tutorials and documentation can be helpful.
  • The use of GUI clients or alternative interfaces like Gitless can simplify the Git experience and reduce the need for complex command-line operations.
  • Some users prefer to avoid certain Git commands, like stash, due to potential accidents or difficulties.
  • The importance of Git history and the use of commands like log and diff are highlighted by some commenters.
  • There is a debate about the level of complexity and training required to master Git, with some arguing that it is no different from other powerful tools.
  • Alternative tools and workflows, such as Perforce, are mentioned as potential alternatives or complements to Git.