Kateb Tech Docs
Commands

Git Commands

Common Git commands used across Kateb Tech repositories.

Git Commands

Status

git status

Check remote

git remote -v

Stage all changes

git add -A

Commit

git commit -m "Describe the change"

Push

git push

Push a new branch

git push -u origin branch-name

Recent commit history

git log --oneline --max-count=10

Change remote to SSH

git remote set-url origin git@github.com:katebtech/repository-name.git

On this page