Day: October 15, 2010

Nucleare a tempo perso

Sembra che Veronesi ha deciso di accettere di dirigere l’Agenzia per il Nucleare in Italia.

Veronesi ha 85 anni (85!) ed è oncologo. E’ stato eletto col PD a Senatore e ha detto che faceva il Senatore solo se questo non gli portava via tempo dai suoi pazienti…

Adesso vuole fare il direttore dell’Agenzia per il Nucleare, che ricordo è stato bandito dall’Italia con un referendum un pò di anni fa, sempre se non porta via tempo ai suoi pazienti.

Perchè è stato scelto Veronesi? Su quale merito? Sembra che Veronesi sia appassionato di Fisica, e questo sia stato il criterio..

Quindi per riassumere:

i soldi per la scuola pubblica e l’Università non ci sono, ma invece ci sono i soldi per mettere in piedi un’Agenzia per il Nucleare e farla dirigere da un oncologo di 85 anni che è appassionato di Fisica.

Sgomento.

Going back in the past with git

Sometimes you find yourself in a really big mess:

  • you made some modification that you want to disregard, but
  • you don’t want to delete everything you’ve done.
  • you messed up your master. Although you shouldn’t.

That’s why a git reset is not the way to go, however there is a really nice way to do it:

  • you choose the commit where you want to restart
  • you apply the merge with ‘theirs’ strategy, which actually copy the info from branch B (theirs) to branch A

This is the magic trick:

[code]git checkout -b fixing some_commit
git checkout master
git merge -s recursive –strategy-option theirs B[/code]

  1. Create a fixing branch from the right commit
  2. go back to master
  3. scrap everything you did and copy from the good old branch.

H/T darkhax

© 2023 Train of Thoughts

Theme by Anders NorénUp ↑

By continuing to use the site (scrolling or clicking counts), you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close