Posts

Highlights

When Git Cannot See a Remote Branch

When Git Cannot See a Remote Branch: origin/dev Not Found While working on a Git repository, I encountered a situation where Git could not see a remote branch even though it clearly existed on the remote server. The error message was: fatal: invalid reference: origin/dev At first glance this looks strange. If the branch exists remotely, Git should be able to track it locally. The issue turned out to be related to how Git fetches remote branches. Verifying That the Remote Branch Exists The first step was to check whether the branch actually existed on the remote repository: git ls-remote --heads origin Example output: 670b975870485f20dc6d793f922848b2382df294 refs/heads/dev be714f052262f6b7bc080492f24dd8e3a9ab410d refs/heads/main This confirms that the dev branch exists on the remote repository. However, locally the branch was not visible: git branch -r The output was empty. Trying to switch to the branch failed: git switch -c dev origin/dev ...

Working notes, public and private

Over time, I realized that I need to clearly separate thinking from publishing . From now on, I will work primarily using Obsidian , organizing my notes into two distinct vaults. Public vault. This is where I collect technical notes, workflows, and ideas that are stable enough to be shared. It is not a polished blog, but a working knowledge base meant to be explored through connections rather than chronological posts. 👉 Public knowledge vault: https://github.com/bubbobne/knowledge-vault Private vault. This is where I keep personal notes, rough ideas, early drafts, and the internal organization of ongoing work, including articles in preparation. Content from the private vault may later be revised, cleaned up, and moved to the public one when it reaches a mature and shareable form. The blog remains a separate space, used for more structured and narrative content. The vault, instead, reflects how I actually think and work: incrementally, non-linearly, and by connecting i...

Rifugio cima d"Asta - Forcella Magna

Image
Hiking to Forcella Magna – An Unexpected Ending On June 22nd , I ventured on a long mountain trail with the goal of reaching Forcella Magna , where I had planned to meet a friend. He was completing a multi-day trek across several valleys, and since it was his final day, he needed a ride back to the point where he had left his car. As I mentioned in a previous post, I've explored this area extensively over the past year. I had already hiked from Passo Cinque Croci to Forcella Magna and covered the entire right orographic side of Val Malene . So, this time I decided to explore the left side of the valley. My plan was to reach Rifugio Cima d’Asta ( Cima d’Asta Mountain Hut ), but not via the fastest route. Instead, I chose a more scenic path that passes through Forcella del Passetto ( Passetto Saddle ). This trail is even longer than the already long “standard” path to the hut. Along the way, we met many people coming down from the hut, but very few climbing up from this ...

Cable Car to the Heatwave at 3000m a.s.l.

Image
Last weekend (a.k.a. June 29th, 2025), I decided to go on a hike with some relatives. I live at the valley floor of the Adige Valley, and the heat these days has been almost unbearable — so we thought, why not escape to the mountains? We chose the Tonale Pass, which sits at around 1800 meters, and planned a descent to Ponte di Legno, a charming village in Lombardy. Since the route was downhill, we assumed it would be an easy and refreshing walk… but we were wrong! The trail was almost entirely exposed to the sun, with barely any shade along the way. When we finally reached Ponte di Legno, we had a surprise waiting for us: no buses run on Sundays. So we had to take the cable car back up to Tonale Pass — definitely more expensive than a bus ride! Once there, we decided to go even higher to get some fresh air and hopefully cool down : we took the second and third cable cars up to Passo Presena, reaching an altitude of 3000 meters above sea level. The view was spectacular. On the opposi...

From Costabrunella Lake to Forcella Magna

Image
Hiking from Costabrunella Lake to Forcella Magna During this week, I took advantage of a weekday break to go hiking in the mountains. My goal was to complete my personal exploration of the orographic right side of Val Malene . The hike starts from Malga Sorgazza . The first stop is at Lake Costabrunella , then we continue to Forcella delle Buse Todesche and finally to Forcella Magna . I had already done most of the route, but I was missing the section between the lake and Forcella delle Buse Todesche. There are two trails connecting Forcella Orsera to Buse Todesche: one easier, which we followed, and a more interesting but possibly more challenging one (the Sentiero delle Trincee ), which I’ve saved for next time. As I’ve already written in other posts, these places are important for several reasons related to the First and Second World Wars . At Costabrunella, there was resistance during WWII , while the rest of the route holds memories of WWI. Traces of the war can still b...

A Photographic Treasure Hunt

Image
Photo Treasure Hunt in Val Campelle On Saturday, May 24, 2025, we decided to go hiking once again in the beautiful Val Campelle. The day started beautifully, with clear skies and only some remaining snow cover on the north-facing slopes at higher altitudes. To make the trip more exciting, I organized a Photo Treasure Hunt ! Game Rules and Challenges Each participant received a list of items to photograph. In addition to the main photo list, there were opportunities to earn extra points : Each participant was given a secret word in Morse code to decode and photograph something related to it. Three short learning moments were planned, each under 5 minutes, followed by a quiz question (1 extra point for correct answers): Geography: Understanding where we are, cardinal directions, and the relative position of nearby locations. Botany: How to identify three tree species: Larch ( Larix decidua ) Silver fir ( Abies alba ) ...

Linux One Command Per Day

I started using Linux as my operating system many years ago — I believe it was in the early 2000s. Over the years, I’ve used several distributions, from Mandrake Linux to Ubuntu and Debian. Currently, my favorite is Manjaro Linux with the KDE desktop environment. For most of this time, I used the default Bash shell, but for the last 2–3 years I’ve been using Oh My Zsh — partly because I also have a Mac, and I installed it there as well. Most of the commands I know in the terminal I originally studied many years ago. That’s why I’ve added 5 minutes to my daily routine to either review a Linux command or learn a new one. I’m doing the same for Oh My Zsh aliases and functions — with the help of ChatGPT. Below, I’ve included the commands in a table. Linux One Command Per Day Command Description Examples tldr Get command description. tldr ls bat ...