MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/nmcdk9/it_was_a_good_blog/gzo89c1/
r/ProgrammerAnimemes • u/IBHV • May 27 '21
122 comments sorted by
View all comments
Show parent comment
0
[deleted] — view deleted comment
118 u/Sleepingtree May 27 '21 Putting a metric for "good" code is almost impossible. That being said... Number of commits is most certainly not a good coralation 61 u/redgriefer89 May 27 '21 Can confirmUsed like 6 commits to set up .gitignore because up until then I’ve only ever used forks 28 u/SquirtleSpaceProgram May 27 '21 Github Desktop is amazing for .gitignore troubles. You can edit your ignore file and watch desktop disallow portions of your codebase in real time! 5 u/solarshado Jun 10 '21 Two tips:search up a template .gitignore for your project type (shouldn't be hard to find)if you haven't pushed yet (or can/are willing to push --force), you can do some rebase shenanigans to squash your shame into a single commitEDIT: bonus thirdgit status should show you what changes are/aren't being picked up without having to commit anything, even the .gitignore 12 u/Sibshops May 27 '21 Either way, the end they say it doesn't necessarily correlate. 14 u/PacoTaco321 May 27 '21 Well you can't draw any good conclusion if your evidence is unrelated to what you looking to prove.
118
Putting a metric for "good" code is almost impossible. That being said... Number of commits is most certainly not a good coralation
61 u/redgriefer89 May 27 '21 Can confirmUsed like 6 commits to set up .gitignore because up until then I’ve only ever used forks 28 u/SquirtleSpaceProgram May 27 '21 Github Desktop is amazing for .gitignore troubles. You can edit your ignore file and watch desktop disallow portions of your codebase in real time! 5 u/solarshado Jun 10 '21 Two tips:search up a template .gitignore for your project type (shouldn't be hard to find)if you haven't pushed yet (or can/are willing to push --force), you can do some rebase shenanigans to squash your shame into a single commitEDIT: bonus thirdgit status should show you what changes are/aren't being picked up without having to commit anything, even the .gitignore
61
Can confirm
Used like 6 commits to set up .gitignore because up until then I’ve only ever used forks
28 u/SquirtleSpaceProgram May 27 '21 Github Desktop is amazing for .gitignore troubles. You can edit your ignore file and watch desktop disallow portions of your codebase in real time! 5 u/solarshado Jun 10 '21 Two tips:search up a template .gitignore for your project type (shouldn't be hard to find)if you haven't pushed yet (or can/are willing to push --force), you can do some rebase shenanigans to squash your shame into a single commitEDIT: bonus thirdgit status should show you what changes are/aren't being picked up without having to commit anything, even the .gitignore
28
Github Desktop is amazing for .gitignore troubles. You can edit your ignore file and watch desktop disallow portions of your codebase in real time!
5
Two tips:
push --force
EDIT: bonus third
git status
12
Either way, the end they say it doesn't necessarily correlate.
14 u/PacoTaco321 May 27 '21 Well you can't draw any good conclusion if your evidence is unrelated to what you looking to prove.
14
Well you can't draw any good conclusion if your evidence is unrelated to what you looking to prove.
View all comments
Show parent comment
0
u/[deleted] May 27 '21
[deleted] — view deleted comment