Skip to content

Commit 76a71b1

Browse files
committed
fixed build
1 parent 8d42005 commit 76a71b1

File tree

35 files changed

+820
-113
lines changed

35 files changed

+820
-113
lines changed
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
---
22
title: "Multi-Boot Setup: Ubuntu + Arch Linux + Windows 11"
33
date: "2026-02-09"
4-
draft: false
5-
showToc: true
64
Author: "Muhammad Ramzan"
75
tags: ["linux", "ubuntu", "arch-linux", "windows", "multi-boot", "grub"]
86
description: "A comprehensive guide to setting up a multi-boot system with Ubuntu, Arch Linux, and Windows 11 on the same machine."
97
---
108

11-
# Multi-Boot Setup: Ubuntu + Arch Linux + Windows 11
12-
139
---
1410

1511
## Introduction

content/posts/git.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Git and Github"
2+
title: "Git and Github: A Comprehensive Guide"
33
date: "2026-02-09"
44
draft: false
55
showToc: true
@@ -8,12 +8,9 @@ tags: ["git", "github", "version control", "collaboration"]
88
description: "A comprehensive guide to using Git and GitHub for version control and collaboration in software development."
99
---
1010

11-
# Git & GitHub: A Quick Guide
12-
13-
---
14-
1511
## Introduction
1612

13+
![Git & GitHub](/git.png)
1714
Git is a version control system that tracks changes in code and helps developers collaborate efficiently. GitHub is an online platform that hosts Git repositories, making it easier to share code, manage projects, and work on open-source projects.
1815

1916
---

public/archives/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,16 +135,16 @@ <h3 class="archive-month-header" id="2026-February">
135135
</h3>
136136
<div class="archive-posts">
137137
<div class="archive-entry">
138-
<h3 class="archive-entry-title entry-hint-parent">Git and Github
138+
<h3 class="archive-entry-title entry-hint-parent">Git and Github: A Comprehensive Guide
139139
</h3>
140140
<div class="archive-meta"><span title='2026-02-09 00:00:00 +0000 UTC'>February 9, 2026</span>&nbsp;·&nbsp;7 min&nbsp;·&nbsp;Muhammad Ramzan</div>
141-
<a class="entry-link" aria-label="post link to Git and Github" href="http://localhost:1313/posts/git/"></a>
141+
<a class="entry-link" aria-label="post link to Git and Github: A Comprehensive Guide" href="http://localhost:1313/posts/git/"></a>
142142
</div>
143143
<div class="archive-entry">
144144
<h3 class="archive-entry-title entry-hint-parent">Multi-Boot Setup: Ubuntu + Arch Linux + Windows 11
145145
</h3>
146146
<div class="archive-meta"><span title='2026-02-09 00:00:00 +0000 UTC'>February 9, 2026</span>&nbsp;·&nbsp;5 min&nbsp;·&nbsp;Muhammad Ramzan</div>
147-
<a class="entry-link" aria-label="post link to Multi-Boot Setup: Ubuntu &#43; Arch Linux &#43; Windows 11" href="http://localhost:1313/posts/multiboot/"></a>
147+
<a class="entry-link" aria-label="post link to Multi-Boot Setup: Ubuntu &#43; Arch Linux &#43; Windows 11" href="http://localhost:1313/posts/multi-boot/"></a>
148148
</div>
149149
<div class="archive-entry">
150150
<h3 class="archive-entry-title entry-hint-parent">Secure Shell (SSH)

public/git.png

54.8 KB
Loading

public/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,16 @@ <h1>Hi, It&rsquo;s Ramzan</h1>
162162

163163
<article class="post-entry">
164164
<header class="entry-header">
165-
<h2 class="entry-hint-parent">Git and Github
165+
<h2 class="entry-hint-parent">Git and Github: A Comprehensive Guide
166166
</h2>
167167
</header>
168168
<div class="entry-content">
169-
<p>Git &amp; GitHub: A Quick Guide Introduction Git is a version control system that tracks changes in code and helps developers collaborate efficiently. GitHub is an online platform that hosts Git repositories, making it easier to share code, manage projects, and work on open-source projects.
169+
<p>Introduction Git is a version control system that tracks changes in code and helps developers collaborate efficiently. GitHub is an online platform that hosts Git repositories, making it easier to share code, manage projects, and work on open-source projects.
170170
Getting Started Initial Configuration git config --global user.name &#34;your-name&#34; git config --global user.email &#34;your-email&#34; git config --global core.editor &#34;code&#34; # Set default editor git config --list # View all configurations Creating Repositories git init # Initialize a new repository git clone &lt;repo-url&gt; # Clone an existing repository git clone &lt;repo-url&gt; &lt;folder-name&gt; # Clone into specific folder Basic Workflow Staging Changes git status # Check current status git add &lt;file&gt; # Stage a specific file git add . # Stage all files git add *.js # Stage all JavaScript files git rm &lt;file&gt; # Remove file and stage deletion git mv &lt;old-name&gt; &lt;new-name&gt; # Rename file and stage change Committing Changes git commit -m &#34;Describe your changes here&#34; git commit -am &#34;Add and commit tracked files&#34; git commit --amend -m &#34;Update last commit message&#34; git commit --amend --no-edit # Add staged changes to last commit Viewing History git log # View commit history git log --oneline # Compact commit history git log --graph --oneline --all # Visual branch history git log -p # Show changes in each commit git log -n 5 # Show last 5 commits git show &lt;commit-hash&gt; # Show specific commit details git diff # Show unstaged changes git diff --staged # Show staged changes git diff &lt;branch1&gt; &lt;branch2&gt; # Compare branches Branching &amp; Merging Managing Branches git branch # List all local branches git branch -a # List all branches (local and remote) git branch &lt;branch-name&gt; # Create a new branch git checkout &lt;branch-name&gt; # Switch to a branch git checkout -b &lt;branch-name&gt; # Create and switch to new branch git switch &lt;branch-name&gt; # Modern way to switch branches git switch -c &lt;branch-name&gt; # Create and switch to new branch git branch -d &lt;branch-name&gt; # Delete branch (safe) git branch -D &lt;branch-name&gt; # Force delete branch git branch -m &lt;new-name&gt; # Rename current branch Merging git merge &lt;branch-name&gt; # Merge branch into current branch git merge --no-ff &lt;branch-name&gt; # Merge with merge commit git merge --squash &lt;branch-name&gt; # Squash commits before merging git merge --abort # Abort merge in case of conflicts Rebasing git rebase &lt;branch-name&gt; # Rebase current branch git rebase -i HEAD~3 # Interactive rebase last 3 commits git rebase --continue # Continue after resolving conflicts git rebase --abort # Abort rebase operation Working with Remotes Remote Management git remote # List remote connections git remote -v # List remotes with URLs git remote add origin &lt;repo-url&gt; # Add remote repository git remote set-url origin &lt;new-url&gt; # Change remote URL git remote rename &lt;old-name&gt; &lt;new-name&gt; # Rename remote git remote remove &lt;remote-name&gt; # Remove remote git remote show origin # Show remote details Syncing with Remotes git fetch # Download remote changes (no merge) git fetch origin # Fetch from specific remote git fetch --all # Fetch from all remotes git pull # Fetch and merge remote changes git pull --rebase # Fetch and rebase instead of merge git push # Push changes to remote git push -u origin &lt;branch-name&gt; # Push and set upstream git push origin --delete &lt;branch-name&gt; # Delete remote branch git push --force # Force push (use with caution!) git push --force-with-lease # Safer force push git push --tags # Push all tags to remote Undoing Changes Working Directory &amp; Staging git checkout -- &lt;file&gt; # Discard changes in working directory git restore &lt;file&gt; # Modern way to discard changes git restore --staged &lt;file&gt; # Unstage file git reset &lt;file&gt; # Unstage file (keep changes) git reset --hard # Discard all local changes git clean -fd # Remove untracked files and directories git clean -n # Preview files to be removed Commits git reset --soft HEAD~1 # Undo last commit (keep changes staged) git reset --mixed HEAD~1 # Undo last commit (keep changes unstaged) git reset --hard HEAD~1 # Undo last commit (discard changes) git reset --hard &lt;commit-hash&gt; # Reset to specific commit git revert &lt;commit-hash&gt; # Create new commit that undoes changes git revert HEAD # Revert last commit Stashing Temporary Storage git stash # Stash current changes git stash save &#34;message&#34; # Stash with description git stash list # List all stashes git stash show # Show latest stash changes git stash show stash@{0} # Show specific stash git stash apply # Apply latest stash (keep in list) git stash apply stash@{2} # Apply specific stash git stash pop # Apply latest stash and remove from list git stash drop # Delete latest stash git stash drop stash@{1} # Delete specific stash git stash clear # Delete all stashes git stash branch &lt;branch-name&gt; # Create branch from stash Tagging Version Marking git tag # List all tags git tag &lt;tag-name&gt; # Create lightweight tag git tag -a v1.0 -m &#34;Version 1.0&#34; # Create annotated tag git tag -a v1.0 &lt;commit-hash&gt; -m &#34;Tag old commit&#34; # Tag specific commit git show &lt;tag-name&gt; # Show tag details git push origin &lt;tag-name&gt; # Push specific tag git push origin --tags # Push all tags git tag -d &lt;tag-name&gt; # Delete local tag git push origin --delete &lt;tag-name&gt; # Delete remote tag Advanced Features Submodules git submodule add &lt;repo-url&gt; &lt;path&gt; # Add submodule git submodule init # Initialize submodules git submodule update # Update submodules git submodule update --init --recursive # Initialize and update all git submodule foreach git pull origin main # Update all submodules git submodule deinit &lt;path&gt; # Deinitialize submodule git rm &lt;submodule-path&gt; # Remove submodule Cherry-Picking git cherry-pick &lt;commit-hash&gt; # Apply specific commit to current branch git cherry-pick &lt;hash1&gt; &lt;hash2&gt; # Apply multiple commits git cherry-pick --continue # Continue after resolving conflicts git cherry-pick --abort # Abort cherry-pick operation Searching &amp; Finding git grep &#34;search-term&#34; # Search in working directory git grep &#34;search-term&#34; &lt;branch-name&gt; # Search in specific branch git log -S &#34;search-term&#34; # Find commits with specific content git log --grep=&#34;pattern&#34; # Search commit messages git bisect start # Start binary search for bug git bisect bad # Mark current commit as bad git bisect good &lt;commit-hash&gt; # Mark commit as good git bisect reset # End bisect session git blame &lt;file&gt; # Show who changed each line git reflog # Show reference logs (recover lost commits) Aliases git config --global alias.co checkout # Create alias git config --global alias.br branch git config --global alias.st status git config --global alias.unstage &#39;reset HEAD --&#39; git config --global alias.last &#39;log -1 HEAD&#39; git config --global alias.visual &#39;log --graph --oneline --all&#39; GitHub-Specific Features Pull Requests &amp; Collaboration # Fetch PR for local testing git fetch origin pull/123/head:pr-123 git checkout pr-123 # Working with forks git remote add upstream &lt;original-repo-url&gt; git fetch upstream git merge upstream/main GitHub CLI (gh) gh repo clone &lt;repo-name&gt; # Clone repository gh pr create # Create pull request gh pr list # List pull requests gh pr checkout &lt;pr-number&gt; # Checkout pull request gh issue create # Create issue gh issue list # List issues Practical Example: Push a Project to GitHub Configure Git: git config --global user.name &#34;your-name&#34; git config --global user.email &#34;your-email&#34; Initialize repository: git init Link to GitHub: git remote add origin &lt;repo-url&gt; Stage and commit: git add . git commit -m &#34;Initial commit&#34; Push to GitHub: git push -u origin main Your project is now live on GitHub!
171171
...</p>
172172
</div>
173173
<footer class="entry-footer"><span title='2026-02-09 00:00:00 +0000 UTC'>February 9, 2026</span>&nbsp;·&nbsp;7 min&nbsp;·&nbsp;Muhammad Ramzan</footer>
174-
<a class="entry-link" aria-label="post link to Git and Github" href="http://localhost:1313/posts/git/"></a>
174+
<a class="entry-link" aria-label="post link to Git and Github: A Comprehensive Guide" href="http://localhost:1313/posts/git/"></a>
175175
</article>
176176

177177
<article class="post-entry">
@@ -180,12 +180,12 @@ <h2 class="entry-hint-parent">Multi-Boot Setup: Ubuntu &#43; Arch Linux &#43; Wi
180180
</h2>
181181
</header>
182182
<div class="entry-content">
183-
<p>Multi-Boot Setup: Ubuntu &#43; Arch Linux &#43; Windows 11 Introduction Multi-booting allows you to run multiple operating systems on a single computer, giving you the flexibility to switch between different environments. This guide will walk you through setting up Ubuntu on a laptop that already has Arch Linux and Windows 11 installed.
184-
Why Multi-Boot? Flexibility: Access different OS features and tools Development: Test software across multiple platforms Learning: Explore different Linux distributions Compatibility: Use Windows-only software when needed Backup: Have alternative systems if one fails Prerequisites Before You Start Backup your data: Always backup important files before partitioning Ubuntu ISO: Download from ubuntu.com Bootable USB: At least 4GB USB drive Free disk space: Minimum 25GB (50GB&#43; recommended) UEFI system: Modern systems use UEFI instead of legacy BIOS Secure Boot: May need to disable for Linux installations Internet connection: For updates and troubleshooting Tools Needed Rufus (Windows) or Etcher (Linux) for creating bootable USB GParted or built-in partition manager USB of Ubuntu for installation Understanding Your Current Setup Check Existing Partitions From your existing Arch Linux or Windows system, check current partition layout:
183+
<p> Introduction Multi-booting allows you to run multiple operating systems on a single computer, giving you the flexibility to switch between different environments. This guide will walk you through setting up Ubuntu on a laptop that already has Arch Linux and Windows 11 installed.
184+
Why Multi-Boot? Flexibility: Access different OS features and tools Development: Test software across multiple platforms Learning: Explore different Linux distributions Compatibility: Use Windows-only software when needed Backup: Have alternative systems if one fails Prerequisites Before You Start Backup your data: Always backup important files before partitioning Ubuntu ISO: Download from ubuntu.com Bootable USB: At least 4GB USB drive Free disk space: Minimum 25GB (50GB&#43; recommended) UEFI system: Modern systems use UEFI instead of legacy BIOS Secure Boot: May need to disable for Linux installations Internet connection: For updates and troubleshooting Tools Needed Rufus (Windows) or Etcher (Linux) for creating bootable USB GParted or built-in partition manager Booted USB of Ubuntu for installation Understanding Your Current Setup Check Existing Partitions From your existing Arch Linux or Windows system, check current partition layout:
185185
...</p>
186186
</div>
187187
<footer class="entry-footer"><span title='2026-02-09 00:00:00 +0000 UTC'>February 9, 2026</span>&nbsp;·&nbsp;5 min&nbsp;·&nbsp;Muhammad Ramzan</footer>
188-
<a class="entry-link" aria-label="post link to Multi-Boot Setup: Ubuntu &#43; Arch Linux &#43; Windows 11" href="http://localhost:1313/posts/multiboot/"></a>
188+
<a class="entry-link" aria-label="post link to Multi-Boot Setup: Ubuntu &#43; Arch Linux &#43; Windows 11" href="http://localhost:1313/posts/multi-boot/"></a>
189189
</article>
190190

191191
<article class="post-entry">

public/index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/index.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
<lastBuildDate>Mon, 09 Feb 2026 00:00:00 +0000</lastBuildDate>
1010
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
1111
<item>
12-
<title>Git and Github</title>
12+
<title>Git and Github: A Comprehensive Guide</title>
1313
<link>http://localhost:1313/posts/git/</link>
1414
<pubDate>Mon, 09 Feb 2026 00:00:00 +0000</pubDate>
1515
<guid>http://localhost:1313/posts/git/</guid>
1616
<description>A comprehensive guide to using Git and GitHub for version control and collaboration in software development.</description>
1717
</item>
1818
<item>
1919
<title>Multi-Boot Setup: Ubuntu &#43; Arch Linux &#43; Windows 11</title>
20-
<link>http://localhost:1313/posts/multiboot/</link>
20+
<link>http://localhost:1313/posts/multi-boot/</link>
2121
<pubDate>Mon, 09 Feb 2026 00:00:00 +0000</pubDate>
22-
<guid>http://localhost:1313/posts/multiboot/</guid>
23-
<description>A comprehensive guide to setting up a triple-boot system with Ubuntu, Arch Linux, and Windows 11 on the same machine.</description>
22+
<guid>http://localhost:1313/posts/multi-boot/</guid>
23+
<description>A comprehensive guide to setting up a multi-boot system with Ubuntu, Arch Linux, and Windows 11 on the same machine.</description>
2424
</item>
2525
<item>
2626
<title>Secure Shell (SSH)</title>

0 commit comments

Comments
 (0)