FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Git Commands You Need to Know (The Complete Cheat Sheet)
How-ToTools

Git Commands You Need to Know (The Complete Cheat Sheet)

via Dev.to TutorialApaksh2h ago

I've been using Git for over a decade, and I still look up commands. Not because I'm forgetful -- because Git has a massive surface area and you only use 20% of it daily. The other 80% comes up when you're untangling a messy rebase at midnight or trying to find which commit introduced a bug. This is the cheat sheet I keep open in a terminal tab at all times. 1. Setup & Configuration git config --global user.name "Your Name" git config --global user.email "you@example.com" git config --global core.editor "code --wait" git config --global init.defaultBranch main git config --global alias.st status git config --global alias.lg "log --oneline --graph --decorate" git config --list Config Levels System ( --system ) -- /etc/gitconfig Global/user ( --global ) -- ~/.gitconfig Local/repo ( --local ) -- .git/config 2. Creating & Cloning Repos git init # Init repo in current directory git clone &lt ; url&gt ; # Clone repo git clone --depth 1 &lt ; url&gt ; # Shallow clone (latest commit only) git

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
0 views

Related Articles

How to Save 20% on Crypto Trading Fees (Without VIP Status)
How-To

How to Save 20% on Crypto Trading Fees (Without VIP Status)

Dev.to Tutorial • 50m ago

MacBook Neo just set a new bar for cheap laptops - and rattled the PC market
How-To

MacBook Neo just set a new bar for cheap laptops - and rattled the PC market

ZDNet • 2h ago

Built a Free Analytics Platform, Here's Why
How-To

Built a Free Analytics Platform, Here's Why

Dev.to • 2h ago

Welcome Thread - v369
How-To

Welcome Thread - v369

Dev.to • 5h ago

Understand OpenClaw by Building One — Part 2
How-To

Understand OpenClaw by Building One — Part 2

Medium Programming • 5h ago

Discover More Articles