Skip to main content

Command Palette

Search for a command to run...

Git-ting Started

The essential commands that will Git you moving

Updated
1 min readView as Markdown

Git is one of those tools that we take for granted when writing software. Here are some basic commands to get you started on your journey as a programmer.

Setting up

git init ...

Making Your Changes

Git Status

git status

Git Add

git add .

The Git Add command adds in files with changes that need to be committed into a staging area. At this point, the changes are not yet saved, although they are recorded down.

Git Commit

git commit -m "<insert commit message here>"

Git commit, as the name suggests, saves your changes as a commit. It is customary to add a commit message using the -m flag, which serves as a descriptive reminder of the changes that you have made. This might not seem so useful when you are making changes to code that you alone work on.

Syncing Up

Fixing a Mess

Tools of the Trade

Part 1 of 1

In this series we will review the common tools that help us do our job as developers