Using Git add -p for fun (and profit)
techne98.com
Using Git add -p for fun (and profit)
1–10 of 80 posts
Re: Using Git add -p for fun (and profit)
#2Re: Using Git add -p for fun (and profit)
#3I find the jetbrains IDEs (like Webstorm) has the best UI interface for this. Selectively commit specific lines from your changes.
Re: Using Git add -p for fun (and profit)
#4Re: Using Git add -p for fun (and profit)
#5Maybe consider putting your energy into a good documentation inside the repository. I would love to have more projects with documentations which cover the timeline and ideas during development, instead of having to extract these information from metadata - which is what commit messages are, in the end.
Re: Using Git add -p for fun (and profit)
#6I find the jetbrains IDEs (like Webstorm) has the best UI interface for this. Selectively commit specific lines from your changes.
Re: Using Git add -p for fun (and profit)
#7Re: Using Git add -p for fun (and profit)
#8Re: Using Git add -p for fun (and profit)
#9What's wrong with a big end of day commit? Sure, a well crafted git history can be very valuable. But then comes somebody and decides to just flush your well curated history down the toilet (=delete it and start somewhere else from scratch) and then all the valuable metadata stored in the history is lost. Maybe consider putting your energy into a good documentation inside the repository. I would love to have more pro…
If someone else decides your implementation of something is not good enough, and they manage to get enough buy-in to rewrite it from scratch, maybe they were right to start with?. And if your history is not clear about the why of your changes, you have 0 to defend your work
Re: Using Git add -p for fun (and profit)
#10I'm a big fan of how tig TUI makes this, and other git actions, very simple https://jonas.github.io/tig/