- Commit...
- Commit All...
- Commit Staged...
- Stage Changes
- Add To Last Commit
- Undo Last Commit
- Discard Changes
- Discard All Changes
- Ignore Changes
- Unignore Changes
- Stash Changes
- Unstash Changes
- Fetch
- Fetch All
- Pull
- Pull All
- Push
- Push All
- Sync
- Sync All
- Merge Branch...
- Switch Branch...
- Create Branch...
- Delete Branch...
- Initialize
- Log
- Diff
- Run Command...
- Refresh
git-menu:commit
You can commit a single file or multiple files or folders selected in the tree-view. This command will bring up a dialog window where you can unselect any files you do not want to commit.
You can also choose to amend the last commit with the selected files and/or optionally change the last commit message.
You then have the following options to commit the message/files:
- "Commit" will just commit the files.
- "Commit & Push" will commit the files then push them to origin.
- "Commit & Sync" will commit the files, pull from origin then push to origin.
git-menu:commit-all
Same as Commit... but will list all changed files in the dialog.
git-menu:commit-staged
Same as Commit... but will list only staged changes in the dialog.
git-menu:stage-changes
Stage changes for committing later.
git-menu:add-to-last-commit
This will add the selected files to the last commit.
If you want to change the message of the last commit you will have to choose Commit... or Commit All....
git-menu:undo-last-commit
This will undo the last commit but save the changes. Like git reset --mixed HEAD~1
.
git-menu:discard-changes
This will discard changes to the selected files.
git-menu:discard-all-changes
This will discard changes to the all files in the repo.
git-menu:ignore-changes
Update the index with the changed version but don't commit the changes. Like git update-index --assume-unchanged
.
git-menu:unignore-changes
Opposite of Ignore Changes. Like git update-index --no-assume-unchanged
.
git-menu:stash-changes
Save changes and checkout last commit.
git-menu:unstash-changes
Restore changes from last stash.
git-menu:fetch
Fetch from all tracked repos.
git-menu:fetch-all
Fetch all project repos.
git-menu:pull
Pull from tracked upstream.
git-menu:pull-all
Pull all project repos.
git-menu:push
Push to tracked upstream.
git-menu:push-all
Push all project repos.
git-menu:sync
Pull then Push.
git-menu:sync-all
Pull then Push all project repos.
git-menu:merge-branch
Merge or rebase a branch.
git-menu:switch-branch
Checkout a different branch in this repo.
git-menu:create-branch
Create a branch and optionally track/create a remote branch.
git-menu:delete-branch
Delete a local and/or remote branch.
git-menu:init
Initialize a git repo for the current project.
git-menu:log
Show the git log.
git-menu:diff
Open the diff patch in a new editor.
git-menu:run-command
Run any git
command with selected %files%
as an argument.
git-menu:refresh
Refresh the git status in Atom.