Skip to content

Commit 1d8457c

Browse files
antmarakisnorvig
authored andcommitted
Updating Submodule (#647)
* Updating Submodule * Create SUBMODULE.md
1 parent 671a651 commit 1d8457c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "aima-data"]
22
path = aima-data
3-
url = https://github.com/aimacode/aima-data
3+
url = https://github.com/aimacode/aima-data.git

SUBMODULE.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
This is a guide on how to update the `aima-data` submodule. This needs to be done every time something changes in the [aima-data](https://github.com/aimacode/aima-data) repository. All the below commands should be executed from the local directory of the `aima-python` repository, using `git`.
2+
3+
```
4+
git submodule deinit aima-data
5+
git rm aima-data
6+
git submodule add https://github.com/aimacode/aima-data.git aima-data
7+
git commit
8+
git push origin
9+
```
10+
11+
Then you need to pull request the changes (unless you are a collaborator, in which case you can commit directly to the master).

0 commit comments

Comments
 (0)