-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using submodule #8
base: master
Are you sure you want to change the base?
Changes from 17 commits
bc18e2f
91c39c4
8d9fec1
b3ae381
dc559d6
5b7484e
8165fb8
3f70a17
f051f25
65b8b3b
28372f7
9e0c532
3650f47
825714c
e0c2bae
c84ba70
d9679b9
86e0154
dc0ca6d
ea2aa40
6fa7f94
15d9a61
0a4fc9c
33670c6
9d51cf8
1a9f616
de2539a
7d42eff
ade08ba
7c0cf6d
b25db71
db58182
7272fe4
1301de5
ae7feb6
94f0d69
0c5ace9
31848eb
690942a
27b2d19
9139ad5
4cd348e
22a5eb3
4c35119
4162c93
415d732
91654d4
e557bd6
ee270e6
6b07d3b
f651f0d
131e9fd
ca82236
68ae2ff
2170a04
f9a44f6
82caf7c
31f6290
6d6dce7
2e3f195
9e01847
2e7e0bb
4bff4a2
8ac0a9b
4f1daa4
4f7105b
feacd86
c4ed401
60ad708
d347c1a
773eca0
433d622
5beb114
afa7cc2
820f534
a266065
432c590
26bf484
14888e6
96b153a
c663a87
2eba0d6
1be6180
962020b
3edcb9b
7b67187
04f8cce
059d323
5ec6269
f2458c0
3b68f7e
33ea87b
5713541
6648c55
ec80f6d
51f0ce3
a0f645d
1af1137
d3be917
be1d0e0
c64252a
2aa0d66
54f6f8e
07c730e
88c8869
18bdb88
f76d82c
1f6879c
b34e5b4
c6c8b8d
65f36cc
9a20dc9
3269ab1
5cdf57a
65bbc26
6ed8b7a
65d42ea
6fc9796
52d686b
56f3744
f1d5981
3abb336
def46d4
8218e6b
a9f6d99
a3a31c3
168b75d
3fc6746
25e7701
4b37ac2
4890151
d878f04
247e2e2
766e2a1
767c1f8
17da48e
feadffd
b442e97
18e2874
d6ec68f
24d50f8
7054f5d
80a8803
47fd588
da1a828
67ce838
e9c3096
c26008c
d67d1ca
560f235
e2824c0
09d5855
3d1f3fa
a58f1ab
c5437d0
7df710b
88e67f9
7cb3fb7
e144ca6
90f149d
a47c27d
0ec6fda
1fb9ea0
4c6054f
a580262
42223b3
53e8b61
736dea6
3a86aa2
e833921
aeee031
4f1015c
4a70ab0
f740104
0bce621
3dd4aef
5f9c70b
b34c1e3
f6fa01e
c24cdc2
0a79a25
fcb1dbf
7c7821d
f1b9dc3
f6af2a3
253a9a1
45c564b
035de6f
d8234bb
5db84d2
320a610
d4ed021
9931a06
468a00a
84557f4
0b4386a
a03e8ef
39e1fdd
65cdade
12f63fc
bb1c447
6cd6c88
e9abf59
cd872a9
197804c
5cd48ab
ca0d1e9
789c4cc
967cd64
3674716
300be20
a3b7954
cb0a95c
394704b
5a7a3cd
4274a6d
bc4f399
4bf58ca
74b2f95
ea28c14
1e2043f
24484cc
fdf3c84
5b35d77
9677e4c
a91579a
c8017b9
0f69661
b45f2b8
aa250e9
86b3ac0
e2d79fe
e3054b7
c698979
c274cda
b953635
8c4c91c
13cebb9
7e76c0d
7274212
497b28d
7980d1f
48b7f7c
865942a
5be3b49
8a6608a
2a476c0
bc807e6
3ee10ff
1fb7bf9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "boilerplates"] | ||
path = boilerplates | ||
url = https://github.com/github/gitignore |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Change Log | ||
=== | ||
|
||
* [ef94583](https://github.com/theadamlt/Sublime-Gitignore/commit/ef945833daa22f088b276061341cfb1c5d9101c3): First commit | ||
* [a5e6cbc](https://github.com/theadamlt/Sublime-Gitignore/commit/a5e6cbcf0d5ab2bb32a6ce4f2b36c62bedd2d050): Completely rewrite of the plug-in | ||
* [bc6e0dc](https://github.com/theadamlt/Sublime-Gitignore/commit/bc6e0dca423fb644ff27413b43e8c9d46cd05116): Add windows support and independence of [gibo](https://github.com/simonwhitaker/gibo) | ||
* [8dc4578](https://github.com/kevinxucs/Sublime-Gitignore/commit/8dc457884b766b0cefc7a270b71cbf6760747817): Fix most of code issue & | ||
Start to work on `begin_edit` restriction on ST3 | ||
* [aa250e9](https://github.com/hadisfr/Sublime-Gitignore/commit/aa250e91bf3f748e2bdf367c7f5575da29d3175f): Use submodule for boilerplates | ||
|
||
The following boilerplates from [9b87ee1](https://github.com/kevinxucs/Sublime-Gitignore/commit/9b87ee16d470c68eda2f2fea4eadb1aa6a1a32f5) seems to be missing from [github/gitignore@ea28c14](https://github.com/github/gitignore/commit/ea28c14da0faf75047165c10223635ba95566ad7): | ||
* [Bancha.gitignore](boilerplates/Bancha.gitignore) has been removed by [github/gitignore#1192](https://github.com/github/gitignore/pull/1192) | ||
* [CSharp.gitignore](boilerplates/CSharp.gitignore) has been consolidate into [VisualStudio.gitignore](boilerplates/VisualStudio.gitignore) by [github/gitignore#492](https://github.com/github/gitignore/pull/492) | ||
* [Compass.gitignore](boilerplates/Compass.gitignore) has been merged to [Sass.gitignore](boilerplates/Sass.gitignore) by [github/gitignore@503bde5](https://github.com/github/gitignore/commit/503bde5d249374a35ea9296ba707af66b03451db) in [github/gitignore#945](https://github.com/github/gitignore/pull/945) | ||
* [Django.gitignore](boilerplates/Django.gitignore) has been merged into [Python.gitignore](boilerplates/Python.gitignore) by [github/gitignore#473](https://github.com/github/gitignore/pull/473) | ||
* [IPythonNotebook.gitignore](boilerplates/IPythonNotebook.gitignore) has been deleted due to existence of Jupyter Notebook of [Python.gitignore](boilerplates/Python.gitignore) by [github/gitignore#2172](https://github.com/github/gitignore/pull/2172) | ||
* [IntelliJ.gitignore](boilerplates/IntelliJ.gitignore) appears in [JetBrains.gitignore](boilerplates/Global/JetBrains.gitignore) | ||
* [Jython.gitignore](boilerplates/Jython.gitignore) has been merged into [Python.gitignore](boilerplates/Python.gitignore) by [github/gitignore#1493](https://github.com/github/gitignore/pull/1493) | ||
* [LaTeX.gitignore](boilerplates/LaTeX.gitignore) has been renamed to [TeX.gitignore](boilerplates/TeX.gitignore) in [github/gitignore@81f8222](https://github.com/github/gitignore/commit/81f8222e7fb5b1174b6c83016f0d6c5f28d6abea) by [github/gitignore#832](https://github.com/github/gitignore/pull/832) | ||
* [Meteor.gitignore](boilerplates/Meteor.gitignore) has been removed by [github/gitignore#1521](https://github.com/github/gitignore/pull/1521) | ||
* [OSX.gitignore](boilerplates/OSX.gitignore) has been renamed to [macOS.gitignore](boilerplates/Global/macOS.gitignore) by [github/gitignore#2085](https://github.com/github/gitignore/pull/2085) | ||
* [PhPStorm.gitignore](boilerplates/PhPStorm.gitignore) appears in [JetBrains.gitignore](boilerplates/Global/JetBrains.gitignore) | ||
* [PyCharm.gitignore](boilerplates/PyCharm.gitignore) appears in [JetBrains.gitignore](boilerplates/Global/JetBrains.gitignore) | ||
* [Quartus2.gitignore](boilerplates/Quartus2.gitignore) has been removed by [github/gitignore#1193](https://github.com/github/gitignore/pull/1193) | ||
* [RubyMine.gitignore](boilerplates/RubyMine.gitignore) appears in [JetBrains.gitignore](boilerplates/Global/JetBrains.gitignore) | ||
* [SASS.gitignore](boilerplates/SASS.gitignore) has been renamed to [Sass.gitignore](boilerplates/Sass.gitignore) by [github/gitignore@503bde5](https://github.com/github/gitignore/commit/503bde5d249374a35ea9296ba707af66b03451db) in [github/gitignore#945](https://github.com/github/gitignore/pull/945) | ||
* [Symfony2.gitignore](boilerplates/Symfony2.gitignore) has been renamed to [Symfony.gitignore](boilerplates/Symfony.gitignore) in [github/gitignore@5e34ab0](https://github.com/github/gitignore/commit/5e34ab0bc2c0aebc0af0ee1419671043734fc346) by [github/gitignore#1117](https://github.com/github/gitignore/pull/1117) | ||
* [Target3001.gitignore](boilerplates/Target3001.gitignore) has been removed by [github/gitignore#1190](https://github.com/github/gitignore/pull/1190) | ||
* [Tasm.gitignore](boilerplates/Tasm.gitignore) has been removed by [github/gitignore#1189](https://github.com/github/gitignore/pull/1189) | ||
* [VB.Net.gitignore](VB.Net.gitignore) has been consolidate into [VisualStudio.gitignore](boilerplates/VisualStudio.gitignore) by [github/gitignore#492](https://github.com/github/gitignore/pull/492) | ||
* [vim.gitignore](boilerplates/vim.gitignore) has been renamed to [Vim.gitignore](boilerplates/Global/Vim.gitignore) | ||
* [webMethods.gitignore](boilerplates/webMethods.gitignore) has been removed in [github/gitignore@9f1b7d7](https://github.com/github/gitignore/commit/9f1b7d77e24ec9c3e2681da93b68767fd96dd52b) by [github/gitignore#1](https://github.com/dereknex/gitignore/pull/1) | ||
|
||
Some of those deleted files are available at [hadisfr/old-gitignores](https://github.com/hadisfr/old-gitignores). |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,53 @@ | ||
# Sublime Text 2 and 3 Gitignore plug-in | ||
# Sublime Text 2 and 3 Gitignore Plug-in | ||
|
||
### Sublime Text 2 and 3 plug-in for fetching gitignore boilerplates from [the collection of gitignore boilerplates by Github](https://github.com/github/gitignore) | ||
Sublime Text 2 and 3 plug-in for fetching gitignore boilerplates from [the collection of gitignore boilerplates by Github](https://github.com/github/gitignore) | ||
|
||
### How it works | ||
Press ```Cmd + Shift + P``` for Mac and ```Ctrl + Shift + P``` for Linux/Windows<br /> | ||
Write ```Gitignore``` and select ```Gitignore: new gitignore``` | ||
## How it works | ||
|
||
Press `Cmd + Shift + P` for Mac and `Ctrl + Shift + P` for Linux/Windows. | ||
Write `Gitignore` and select `Gitignore: new gitignore`. | ||
Then select the desired gitignore boilerplate. | ||
Now select another boilerplate. When you are done, select `Done`. | ||
Save the newly open file as `.gitignore` and your done! | ||
|
||
Now select another boilerplate. When you are done, select ```Done```. | ||
## User-defined Boilerplates | ||
|
||
Save the newly open file as <code><i>something</i>.gitignore</code> and your done! | ||
You can add your own `*.gitignore` files to `Packages/User/gitignores` directory to use them via Gitignore Plug-in. | ||
You may need to restart sublime text to load new boilerplates. | ||
|
||
User-defined boilerplates override default ones with the same name. | ||
|
||
You can find some old gitignore boilerplates at [hadisfr/old-gitignores](https://github.com/hadisfr/old-gitignores). | ||
|
||
## Installation | ||
|
||
Install via package control | ||
### Install via Package Control | ||
|
||
### Or | ||
[Install Package Control](https://packagecontrol.io/installation), | ||
then press `Cmd + Shift + P` for Mac and `Ctrl + Shift + P` for Linux/Windows, | ||
select `Package Control: Install Package`, | ||
and select `Sublime-Gitignore`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
### Manual Install | ||
|
||
#### Linux | ||
|
||
``` | ||
git clone https://github.com/theadamlt/Sublime-Gitignore ~/.config/sublime-text-2/Packages/Gitignore | ||
```bash | ||
git clone https://github.com/kevinxucs/Sublime-Gitignore ~/.config/sublime-text-2/Packages/Gitignore | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably can change to path for sublime text 3 here |
||
git submodule update --init --recursive | ||
``` | ||
|
||
#### Windows | ||
|
||
``` | ||
git clone https://github.com/theadamlt/Sublime-Gitignore %APPDATA%/Sublime\ Text\ 2/Packages/Gitignore | ||
```bash | ||
git clone https://github.com/kevinxucs/Sublime-Gitignore %APPDATA%/Sublime\ Text\ 2/Packages/Gitignore | ||
git submodule update --init --recursive | ||
``` | ||
|
||
|
||
#### Mac | ||
|
||
```bash | ||
git clone https://github.com/kevinxucs/Sublime-Gitignore ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Gitignore | ||
git submodule update --init --recursive | ||
``` | ||
git clone https://github.com/theadamlt/Sublime-Gitignore ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Gitignore | ||
``` | ||
|
||
<hr> | ||
|
||
The plugin is inspired by [gibo](https://github.com/simonwhitaker/gitignore-boilerplates) so thanks to Simon Whitaker. |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please make sure when installed through package control, it downloads the submodules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know how to do it. Can you tell me how to do it? Is it only a regular zip file with specific extension in
Installed Packages
folder?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems there are some issues here….
wbond/package_control#126 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed submodule (497b28d) and added subtree (7980d1f). There will be no auto update as I wished to be, but the boilerplates is even with the source repo now, containing the full history and having the same structure. And there is some more improvements in this branch, e.g. 5b35d77.
I don't now there's any reason to use subtree instead of the old structure or no. I prefer the new one personally. But there is also #7 and it's up to you to decide.