Skip to content

Commit b750d3d

Browse files
committed
update README
1 parent 1cc12a3 commit b750d3d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ example1: `http://localhost:8080/root/gitbucket/blob/19f0431a3fb4a9c3560dbf9b1d7
3939

4040
example2: `http://localhost/root/gitbucket/blob/19f0431a3fb4a9c3560dbf9b1d74f2073da7708f/GitBucketCoreModuleSpec.scala#L5-L10`
4141

42+
## Note
43+
44+
you better use link with sha, not branch name such as `master`. Because `master` changes by commits.
45+
46+
- Good url: `http://localhost:8080/root/gitbucket/blob/19f0431a3fb4a9c3560dbf9b1d74f2073da7708f/GitBucketCoreModuleSpec.scala#L5-L10`
47+
- Bad url: `http://localhost:8080/root/gitbucket/blob/master/GitBucketCoreModuleSpec.scala#L5-L10`
48+
4249
## Limitation
4350

4451
user name, repo name, branch name includes special character may not be processed.

0 commit comments

Comments
 (0)