sudo fdisk -l /mnt/d/tv-streamer-20250312.img
sudo kpartx -av /mnt/d/tv-streamer-20250312.img
sudo mount /dev/mapper/loop0p2 ~/imgmnt
sudo nano ~/imgmnt/etc/hostapd/hostapd.conf
sudo nano ~/imgmnt/etc/hostapd/hostapd.conf
sudo umount ~/imgmnt
sudo kpartx -dv /mnt/d/tv-streamer-20250312.img
git tag 3.84
git push origin --tags
git tag -d 3.84
git push origin --delete 3.84
git clone https://github.com/trysightdev/test_repo
cd test_repo
git branch test_branch
git checkout test_branch
git push -u origin test_branch
git checkout origin
git merge test_branch
git push
git branch -d test_branch
git push -d origin test_branch
git checkout filename.txt
git reset --hard HEAD
git push -f origin commit_id:branch_name
git reset --hard commit_id
git push -f origin 3c056fe9f71dd406c0b56bb54caa2b08c81c5a0c:develop
git reset --hard 3c056fe9f71dd406c0b56bb54caa2b08c81c5a0c
# Step 1: Switch to the develop branch
git checkout develop
# Step 2: Pull the latest changes from the main branch
git pull origin main
# Step 3: Reset the develop branch to match the main branch
git reset --hard origin/main
# Step 4: Force push the changes to the remote repository
git push origin develop --force
echo "Develop branch has been overwritten with the content of the main branch."
# 1. Create a backup branch with the current state
git checkout -b backup-main
# 2. Switch back to master
git checkout master
# 3. Revert all commits after 2b7ef015 but don't commit yet
git revert --no-commit 2b7ef015..HEAD
# 4. Commit the revert as a single commit
git commit -m "Revert codebase to state of commit 2b7ef015 while preserving history"
# 5. Push changes to origin
git push origin master