1 min read 79 words Updated Mar 26, 2026 Created May 09, 2026

Title: Git
Date: 2026-03-09 11:38
Category: Tools

Git

Some git hints.

Make a branch and switch to it

git checkout -b newbranchname

Switch to another (existing) branch

git checkout somebranch

Delete a branch

git branch -d branchname

Delete a branch with impunity

git branch -D branchname

Push your changes (committed)

git push

Show the "remote" upstream. This is the target of git push

git remote -v