- cross-posted to:
- hackernews@derp.foo
- technews@radiation.party
- cross-posted to:
- hackernews@derp.foo
- technews@radiation.party
- pnutzh4x0r ( @pnutzh4x0r@lemmy.ndlug.org ) English7•1 year ago
This is a pretty good overview… The only concern I have is that there should be a warning about doing
git add *
. I’ve seen students do this and end up adding a lot of unnecessary things and bloating their repo.- TechNom (nobody) ( @technom@programming.dev ) English3•1 year ago
That’s why there should always be a gitignore file with everything that shouldn’t get into the repo. At least in the case of open source projects, you can ask the contributor to clean up the commits. But one lazy developer is enough to cause headache for everyone in academic projects and work projects.
An equally important skill is the ability to create clean commit histories using interactive rebases or tools like stgit. Everyone complains about this being too complicated for regular developers. There is some truth to this too. However, the regular commit and forget workflow is an excuse for many lazy developers to slack off on the quality of commits.
- potterman28wxcv ( @potterman28wxcv@beehaw.org ) English5•1 year ago
Back when I was learning Git, I found the official Git book to be easy to get into and surprisingly beginner friendly too. Chapters 1 to 3 are enough for a beginner.
- rony4102 ( @rony4102@programming.dev ) 2•1 year ago
Thanks for this and also i found this intro to git very useful for beginner and whole playlist is good by MIT profs. Version Control (git) (2020)
- whoisearth ( @whoisearth@lemmy.ca ) 1•1 year ago
Love this thank you