You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
In the example the hostname `gitlab.example.com.username` string seems incorrect, but
126
+
In the example the hostname `gitlab.example.com.username` string seems incorrect, but
127
127
it's actually the hostname plus the name of the repo you are accessing which is `username`.
128
128
The trailing 'yourusername' is the username you would use for the actual authentication.
129
129
@@ -137,8 +137,8 @@ $ git help -a | grep credential-
137
137
credential-osxkeychain remote-ftps
138
138
credential-store remote-http
139
139
```
140
-
141
-
You would then choose an appropriate provider. For example, to use the osxkeychain, you
140
+
141
+
You would then choose an appropriate provider. For example, to use the osxkeychain, you
142
142
would use the following:
143
143
144
144
```
@@ -296,13 +296,17 @@ It's up to you:
296
296
297
297
**Pros**
298
298
299
-
- It's the only way to get truly reproducible builds, as it guards against upstream renames, deletes and commit history overwrites.
300
-
- You don't need an extra `dep ensure` step (to fetch dependencies) on fresh clones to build your repo: you can use `go get` as usual.
299
+
- It's the only way to get truly reproducible builds, as it guards against upstream renames,
300
+
deletes and commit history overwrites.
301
+
- You don't need an extra `dep ensure` step to sync `vendor/` with Gopkg.lock after most operations,
302
+
such as `go get`, cloning, getting latest, merging, etc.
301
303
302
304
**Cons**
303
305
304
-
- Your repo will be bigger, potentially a lot bigger.
305
-
- PR diffs are more annoying (but files in `vendor/` are [hidden by default](https://github.com/github/linguist/blob/v5.2.0/lib/linguist/generated.rb#L328) on Github).
306
+
- Your repo will be bigger, potentially a lot bigger,
307
+
though `dep prune` can help minimize this problem.
308
+
- PR diffs will include changes for files under `vendor/` when Gopkg.lock is modified,
309
+
however files in `vendor/` are [hidden by default](https://github.com/github/linguist/blob/v5.2.0/lib/linguist/generated.rb#L328) on Github.
306
310
307
311
## How do I roll releases that `dep` will be able to use?
0 commit comments