gitGrace.fetch (alt+g f) |
Fetch from origin with --prune. You will be asked if you want to fast forward/push/rebase/merge when the current local branch and its remote counterpart are out of sync. |
gitGrace.pull (alt+g u) |
Fetch from origin with --prune then rebase normally. |
gitGrace.push (alt+g p) |
Push to origin. You will be asked if --force-with-lease is needed when the current local branch and its remote counterpart are out of sync. |
git.openChange (alt+g d) |
Open the diff window for the active file. |
gitGrace.stageAll (alt+g y) |
Add files to the stage. |
gitGrace.unstageAll (alt+g z) |
Remove added files from the stage. |
gitGrace.cleanAll (alt+g r) |
Revert dirty files. |
gitGrace.commitSmart (alt+g c) |
Prompt for a commit message with last 500 historical messages suggested and create a commit using Visual Studio Code built-in Git source control panel. |
gitGrace.commitAmend (alt+g a) |
Similar to git.undoCommit but prompt a confirmation dialog beforehand. |
gitGrace.commitEmpty (alt+g e) |
Commit with --allow-empty and the message of "(empty commit)". |
gitGrace.squash (alt+g q) |
Modify the selected commit in the current path with the current staged files. There is a chance of conflicts; use at your own risk. |
gitGrace.branch (alt+g n) |
Create a new branch at the current commit, or rename the current non-master local branch. You will be asked to type a branch name. |
gitGrace.checkout (alt+g s) |
Checkout an existing branch while fetching the remote branches in the background, and create the local counterpart branch. You will be asked if you want to stash/discard the dirty files and discard the dangling commits beforehand. |
gitGrace.master (alt+g m) |
Checkout the commit at origin/HEAD without creating a branch (detached head). You will be asked if you want to stash/discard the dirty files and discard the dangling commits beforehand. |
gitGrace.openWeb (alt+g h) |
Open the link to the active file in your web browser. |
gitGrace.pullRequest (alt+g j) |
Push and open GitHub pull-request creation page in your web browser. |
gitGrace.sync (alt+g g) |
Push to origin then pull with --all, --rebase and finally pushes everything to origin. You will be asked to commit beforehand if the repository is dirty. |
gitGrace.showOutput (alt+g o) |
Open the output channel for Git Grace extension. |
tortoiseGit.showLog (alt+g l) |
Show the log messages for the whole repository. |
tortoiseGit.showFileLog (alt+g k) |
Show the log messages for the current active file. |
tortoiseGit.commit (alt+g t) |
Commit with TortoiseGit. |
tortoiseGit.blame (alt+g b) |
Open TortoiseGitBlame for the current active file. |
gitGrace.stash (alt+s s) |
Save an unnamed stash with --include-untracked. |
gitGrace.stashPopLatest (alt+s p) |
Restore the last stash without hassle. |
gitGrace.stashPop (alt+s l) |
Open the stash list and restore the selected stash. |
gitGrace.stashClear (alt+s c) |
Clear the stash list. |
gitGrace.deleteBranch (alt+s x) |
Similar to git.deleteBranch . |
gitGrace.deleteMergedBranches |
Delete all the branches that have been merged to origin/HEAD. This command is available in the command palette as Delete Merged Branches. |