How to rename git branch name Suppose we run this command git push -u origin main and get the following errors: error: src refspec main does not match any error: failed to push some refs to 'https://codeberg.org/tasin/Clarity.git' So this is happening because my remote branch name is master while we are trying to push to…
How to switch git repository on local project Start Completely Fresh (Recommended for new platform) # Remove the current git history rm -rf .git # Reinitialize git git init # Add your files git add . # Make initial commit git commit -m "Initial commit" # Add Codeberg remote git remote add origin https://codeberg.org/your-username/…
How to use Git on Windows and Linux using terminal In this blog, we are gonna learn all the commands to use Git on our project. First of all, navigate to the project directory using the $cd path/to/the/project and then follow the steps below. Step 1: Initialize git (if not already) Run this (only once per project): git init Step 2:Add your remote GitHu…
How to build release version apk on Android Studio In this blog, we will learn how to build a release version apk fine on Android Studio.
How to run local AI model using llama.cpp Running a local AI model is a game-changer. It means complete privacy, zero subscription fees, and an assistant that works entirely offline. While popular apps like Ollama, LM Studio, or Faraday are great options, they can be incredibly heavy and resource-hungry. Today, we are going to learn how t…