Skip to content
This repository was archived by the owner on Jun 10, 2022. It is now read-only.

Commit 40fd461

Browse files
authored
Create docs.md
1 parent f2905ca commit 40fd461

File tree

1 file changed

+102
-0
lines changed

1 file changed

+102
-0
lines changed

docs/docs.md

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# Commands
2+
3+
- [Commit...](#commit)
4+
- [Commit All...](#commit-all)
5+
- [Discard Changes](#discard-changes)
6+
- [Discard All Changes](#discard-all-changes)
7+
- [Add To Last Commit](#add-to-last-commit)
8+
- [Undo Last Commit](#undo-last-commit)
9+
- [Switch Branch](#switch-branch)
10+
- [Create Branch](#create-branch)
11+
- [Ignore Changes](#ignore-changes)
12+
- [Unignore Changes](#unignore-changes)
13+
- [Pull](#pull)
14+
- [Push](#push)
15+
- [Pull & Push](#pull--push)
16+
- [Initialize](#initialize)
17+
- [Refresh](#refresh)
18+
- [Fetch](#fetch)
19+
- [Stash Changes](#stash-changes)
20+
- [Unstash Changes](#unstash-changes)
21+
22+
## Commit...
23+
24+
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 deselect any files you do not want to commit.
25+
26+
You can also choose to amend the last commit with the selected files and/or optionally change the last commit message.
27+
28+
You then have the following options to commit the message/files:
29+
30+
- "Commit" will just commit the files.
31+
- "Commit & Push" will commit the files then push them to origin.
32+
- "Commit & Pull & Push" will commit the files, pull from origin then push to origin.
33+
34+
## Commit All...
35+
36+
Same as [Commit...](#commit) but will list all changed files in the dialog
37+
38+
## Discard Changes
39+
40+
This will discard changes to the selected files.
41+
42+
## Discard All Changes
43+
44+
This will discard changes to the all files in the repo.
45+
46+
## Add To Last Commit
47+
48+
This will add the selected files to the last commit.
49+
50+
If you want to change the message of the last commit you will have to choose [Commit...](#commit) or [Commit All...](#commit-all)
51+
52+
## Undo Last Commit
53+
54+
This will undo the last commit but save the changes. Like `git reset --mixed HEAD~1`
55+
56+
## Switch Branch
57+
58+
Checkout a different branch in this repo.
59+
60+
## Create Branch
61+
62+
Create a branch and optionally track/create a remote branch.
63+
64+
## Ignore Changes
65+
66+
Update the index with the changed version but don't commit the changes. Like `git update-index --assume-unchanged`
67+
68+
## Unignore Changes
69+
70+
Opposite of [Ignore Changes](#ignore-changes). Like `git update-index --no-assume-unchanged`
71+
72+
## Pull
73+
74+
Pull from tracked upstream
75+
76+
## Push
77+
78+
Push to tracked upstream
79+
80+
## Pull & Push
81+
82+
Pull then Push
83+
84+
## Initialize
85+
86+
Initialize a git repo for the current project.
87+
88+
## Refresh
89+
90+
Refresh the git status in Atom.
91+
92+
## Fetch
93+
94+
Fetch from all tracked repos
95+
96+
## Stash Changes
97+
98+
Save changes and checkout last commit
99+
100+
## Unstash Changes
101+
102+
Restore changes from last stash

0 commit comments

Comments
 (0)