Skip to content

Commit e3ad898

Browse files
committed
Update dependencies-and-umbrella-apps.markdown
1 parent bad1365 commit e3ad898

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

getting-started/mix-otp/dependencies-and-umbrella-apps.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ For example, if you push the `kv` project to a git repository, you just need to
8282

8383
```elixir
8484
def deps do
85-
[{:kv, git: "git://github.com/YOUR_ACCOUNT/kv.git"}]
85+
[{:kv, git: "https://github.com/YOUR_ACCOUNT/kv.git"}]
8686
end
8787
```
8888

89-
It doesn't matter if the git repository is public or private, Mix will be able to fetch it for you as long as you have the proper credentials.
89+
If the repository is private though, you may need to specify the private URL `[email protected]:YOUR_ACCOUNT/kv.git`. In any case, Mix will be able to fetch it for you as long as you have the proper credentials.
9090

9191
However, using git dependencies for internal dependencies is somewhat discouraged in Elixir. Remember that the runtime and the Elixir ecosystem already provide the concept of applications. As such, we expect you to frequently break your code into applications that can be organized logically, even within a single project.
9292

0 commit comments

Comments
 (0)