enhanced photosynthesis
- 0 Posts
- 9 Comments
GitProphet@lemmy.sdf.orgto Programmer Humor@lemmy.ml•You can never have too many NPM modules1·2 years agogit add . && git commit -am “Add required dependencies”
GitProphet@lemmy.sdf.orgto Programmer Humor@lemmy.ml•This code is blood sacrifice-dependentEnglish9·2 years ago5 interdependent modules? how sweet…
GitProphet@lemmy.sdf.orgto Free and Open Source Software@beehaw.org•FOSS Language Learning3·2 years agoI have neither used a dedicated app specifically for learning the language, nor completed “learning” the language to a passable level, but I did start learning japanese using only freely available online resources. There was quite a lot of information in video and text form regarding grammar etc… For training vocabulary and the japanese characters (I only learnt Hiragana and Katakana - no Kanji) I used Anki. In my oppinion it’s very doable to learn a language this way without a course (though keep in mind that your pronunciation will suck if you don’t get feedback from people that actually speak the language) - in the end I was just too lazy to learn vocab.
This is basically
sl
but for git.
This interactive tutorial is nice: https://learngitbranching.js.org/
GitProphet@lemmy.sdf.orgto Git@programming.dev•What's your opinion on git rebase vs git merge?English1·2 years agoBecause rebasing changes the history, which would mess with other people’s copies of the same branch, wherefore it shouldn’t be default.
GitProphet@lemmy.sdf.orgto Git@programming.dev•What's your opinion on git rebase vs git merge?English1·2 years agoI use rebase only to clean up some commit messages, squash commits, etc. - essentially to clean up feature branches I wrote. But never rebase to ‘move’ my branch as if it originated from a different commit, because I don’t know necessarily know what changes have been introduced on the other branch (typically main/master), so rebasing on that would leave my commits in a state that they were never tested in, possibly broken / with unintended sideeffects. If I need changes from the other (main) branch in my feature branch (because of feature dependencies, or to fix merge conflicts), I merge it into my branch and can be sure that the commits created before that merge still behave the way they did before that merge - because they were not changed; this can’t be said for rebasing.
Ain’t nobody got time for that.