Thursday, 28 February 2019

java Stream

https://www.geeksforgeeks.org/stream-in-java/

How do I make Git use the editor of my choice for commits?

https://stackoverflow.com/questions/2596805/how-do-i-make-git-use-the-editor-of-my-choice-for-commits


  • Set core.editor in your Git config: git config --global core.editor "vim"
  • Set the GIT_EDITOR environment variable: export GIT_EDITOR=vim

Please enter a commit message to explain why this merge is necessary, especially if it merges an updated upstream into a topic branch

https://stackoverflow.com/questions/19085807/please-enter-a-commit-message-to-explain-why-this-merge-is-necessary-especially

811
It's not a Git error message, it's the editor as git uses your default editor.
To solve this:
  1. press "i"
  2. write your merge message
  3. press "esc"
  4. write ":wq"
  5. then press enter

What is the difference between ArrayList.clear() and ArrayList.removeAll()?

https://stackoverflow.com/questions/7032070/what-is-the-difference-between-arraylist-clear-and-arraylist-removeall

Monday, 25 February 2019

https://stackoverflow.com/questions/19085807/please-enter-a-commit-message-to-explain-why-this-merge-is-necessary-especially

https://stackoverflow.com/questions/19085807/please-enter-a-commit-message-to-explain-why-this-merge-is-necessary-especially


  1. press "i"
  2. write your merge message
  3. press "esc"
  4. write ":wq"
  5. then press enter

Thursday, 21 February 2019

node package.json script tag explanation

https://michael-kuehnel.de/tooling/2018/03/22/helpers-and-tips-for-npm-run-scripts.html