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
Copy file name to clipboardExpand all lines: readme.rst
+40-5Lines changed: 40 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
browse-at-remote.el
5
5
===================
6
6
7
-
This package is easiest way to open particular link on *github*/*gitlab*/*bitbucket*/*stash* from Emacs. It supports various kind of emacs buffer, like:
7
+
This package is easiest way to open particular link on *github*/*gitlab*/*bitbucket*/*stash*/*git.savannah.gnu.org* from Emacs. It supports various kind of emacs buffer, like:
8
8
9
9
- file buffer
10
10
- dired buffer
@@ -29,13 +29,36 @@ Active keybindings for ``browse-at-remote`` function:::
29
29
30
30
(global-set-key (kbd "C-c g g") 'browse-at-remote)
31
31
32
-
If your repository is hosted on GitHub enterprise, you should add following setting to its config:::
32
+
Customization
33
+
-------------
34
+
35
+
By default `browse-at-remote` knows how to work with popular remote types (github/gitlab..). Knowledge how to work with certain remote-type comes from mapping `browse-at-remote-remote-type-domains`. It defines that `github.com` should be treat in github manner, `bitbucket.org` in bitbucket manner and so on.
36
+
In your development you may have some specific git-url, and `browse-at-remote` will before confuse which remote-type map to your domain.
37
+
38
+
Two solution available:
39
+
40
+
1. In that case you can to customize that. (`M-x customize ... browse-at-remote-remote-type-domains`). For now our package supports next remote-types:
41
+
42
+
43
+
- bitbucket.com
44
+
- gitlab.com
45
+
- github.com
46
+
- Stash
47
+
- git.savannah.gnu.org
48
+
33
49
34
-
git config --add browseAtRemote.type "github"
50
+
2. Set specific remote-type directly in git repo. For example, if your repository is hosted on GitHub enterprise, you should add following setting to its config::
35
51
36
-
For private Stash repitory use command:::
52
+
git config --add browseAtRemote.type "github"
37
53
38
-
git config --add browseAtRemote.type "stash"
54
+
or for private Stash repository use command::
55
+
56
+
git config --add browseAtRemote.type "stash"
57
+
58
+
Adding new remote type
59
+
----------------------
60
+
61
+
You can your own remote if you need - PRs are welcome! Please see good examples here: gnu-savannah-remote_, or stash-remote_.
39
62
40
63
41
64
Usage:
@@ -78,19 +101,27 @@ Usage:
78
101
- Press `C-x v g` to call standard vc-annotate
79
102
- Call `browse-at-remote` on target line
80
103
104
+
81
105
Contributors:
82
106
-------------
83
107
108
+
- `@rmuslimov`_
84
109
- `@env0der`_
85
110
- `@ben`_
86
111
- `@duff`_
87
112
- `@Wilfred`_
88
113
- `@yauhen-l`_
114
+
- `@ieure`_
115
+
- `@wigust`_
89
116
90
117
91
118
Changelog:
92
119
--------
93
120
121
+
0.10.0
122
+
******
123
+
New remote type added **git.savannah.gnu.org** by `@wigust`_.
124
+
94
125
0.9.0
95
126
*****
96
127
Minor fixes, added Stash (bitbucket support) by `@yauhen-l`_.
0 commit comments