Code & Development12 Shortcuts

Git & GitHub Shortcuts

Distributed version control system to track changes and collaborate on software code.

Showing 12 of 12 shortcuts
git+status
Must Knowbasic

Check Working Tree Status

Displays staged, modified, and untracked files in active branch.

git+add+.
Must Knowbasic

Stage All Modified Files

Stages modified and new files ready for the upcoming commit snapshot.

git+commit+-m+"msg"
Must Knowbasic

Commit Staged Changes with Message

Records staged changes into repository version timeline.

git+push+origin+main
Must Knowbasic

Push Commits to Remote

Uploads local commits to GitHub or remote server.

git+pull
Must Knowbasic

Fetch & Merge Remote Changes

Downloads latest commits from remote and updates local working branch.

git+checkout+-b+name
Must Knowintermediate

Create and Switch to New Branch

Initializes a fresh development branch and switches to it.

git+log+--oneline
basic

Compact Commit History

Outputs concise one-line list of commit hashes and descriptions.

git+stash
intermediate

Stash Uncommitted Work

Temporarily stashes uncommitted modifications to allow branch switching.

.
Must Knowbasic

Open Web VS Code in GitHub

Press . (dot) on any repository page to launch browser-based VS Code.

t
Must Knowbasic

File Finder in Repository

Press t on repository root to search and open any code file.

s
basic

Focus Search Bar

Focuses cursor directly into global GitHub search bar.

?
basic

Show Keyboard Shortcuts Modal

Displays cheatsheet dialog of all shortcuts on current GitHub screen.