Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions commands.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Git Commands</title>
</head>
<body>
<h1>Git Playlist: Essential Git Commands</h1>
<div class="playlist">
<h2>Basic Commands</h2>
<p><span class="command">git init</span> - Initialize a new Git repository</p>
<p><span class="command">git clone &lt;url&gt;</span> - Clone an existing repository</p>
<p><span class="command">git status</span> - Check the status of your repository</p>

<h2>Working with Commits</h2>
<p><span class="command">git add .</span> - Stage all changes for commit</p>
<p><span class="command">git commit -m "Your message"</span> - Commit staged changes</p>
<p><span class="command">git log</span> - View commit history</p>

<h2>Branching</h2>
<p><span class="command">git branch</span> - List all branches</p>
<p><span class="command">git checkout -b new-branch</span> - Create and switch to a new branch</p>
<p><span class="command">git merge branch-name</span> - Merge a branch into the current branch</p>
</div>
</body>
</html>