L'altre dia un company de feina em va preguntar si hi havia alguna manera de fer un git add indicant els fitxers que no es volien ficar a l'stage, en comptes d'indicar els que si es volen afegir.
Aixi que en un moment de lucidesa em vaig dedicar a fer una funcio en bash. La vaig titular “gaddi” o git add inverse.
function gaddi {
git add .
comanda=“”
for var in “$@”
do
comanda=$comanda" $var"
done
git reset HEAD $comanda
git status -sb
}
Heu de posar la funcio al .bash_profile, reiniciar-lo i fer un:
gaddi aquest_fitxer_no_entra.txt
:D
Felix Baumgartner’s Historic Jump
Want to see more photos of the jump? Take a look at the Red Bull Stratos Mission Control location page, the @redbullstratos, @redbull, @joergmitter, and @limeximages accounts, as well as the hashtags #felixbaumgartner and #stratos
Earlier today, Felix Baumgartner took a stratospheric balloon flight to 127,000 feet (37,000 meters) and then, he jumped. The freefall jump was an attempt to become the first man to break the speed of sound (690 miles or 1,110 kilometers per hour). It lasted 4 minutes and 22 seconds and according to indicators provided by the @redbullstratos team, Baumgartner surpassed Mach 1. His jump came exactly 65 years to the day after Chuck Yeager became the first man to break the sound barrier in an airplane.
This classic banana bread recipe comes from my mom – the walnuts add a nice texture and flavor to the banana bread. Prep Time: 15 minutes Cook time: 1 hour Yield: 1 loafEscolta Espanya, hem arribat al final del camí. Vull separar-me. No m’havia pas imaginat fa uns anys que arribaria a aquest extrem però això nostre no té futur. Et veig com un marit antipàtic que em maltracta i m’explota. No em
sap greu recordar que t’he estimat i que m’he esforçat per salvar la…
Aqui teniu el meu avi. Un megacrack que compleix 90 anys! “i no em penso morir!”, diu. :) (Taken with Instagram)