Thursday, April 18, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 590  / 2 Years ago, fri, october 21, 2022, 6:20:14

I have configured bzr to push updates and now it's using ssh for downloading all the branches too. Is it possible to use ssh only for uploading?


More From » ssh

 Answers
3

You can use different branch URLs for push and pull. First check the current related branches with bzr info:



$ bzr info
Standalone tree (format: 2a)
Location:
branch root: .

Related branches:
push branch: bzr+ssh://somehost.example.org/home/user/foo/
parent branch: bzr+ssh://somehost.example.org/home/user/foo/


To switch any of these, just issue the push or pull command with the --remember option, such as:



$ bzr pull --remember http://somehost.example.org/~user/foo/


After that, you can verify the new setting with bzr info again.


[#38039] Friday, October 21, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oraoming

Total Points: 354
Total Questions: 105
Total Answers: 124

Location: Iraq
Member since Sat, Apr 3, 2021
3 Years ago
oraoming questions
Fri, Aug 20, 21, 10:08, 3 Years ago
Mon, May 24, 21, 21:56, 3 Years ago
Mon, Dec 12, 22, 23:21, 1 Year ago
Mon, Sep 12, 22, 11:38, 2 Years ago
;