mirror of
https://github.com/rclone/rclone.git
synced 2025-02-16 10:32:39 +01:00
Created What to do after the repository move (markdown)
parent
a4a791e749
commit
bc7bc5a447
28
What-to-do-after-the-repository-move.md
Normal file
28
What-to-do-after-the-repository-move.md
Normal file
@ -0,0 +1,28 @@
|
||||
# Repo move from github.com/ncw/rclone to github.com/rclone/rclone
|
||||
|
||||
On 2019-07-28 we moved the rclone repo from `github.com/ncw/rclone` to `github.com/rclone/rclone` as part of the maturing process of the rclone project.
|
||||
|
||||
Here are some instructions on how to fix-up your development environment
|
||||
|
||||
## How to fix up your repository
|
||||
|
||||
If you have the `GOPATH` environment variable set or all your code is under `~/go/src/github.com/ncw/rclone` then do this to move the code to its new place, if not, just `cd` into the directory that contains the code.
|
||||
|
||||
```
|
||||
cd ${GOPATHx:-${HOME}/go}
|
||||
mkdir -p src/github.com/rclone
|
||||
mv src/github.com/ncw/rclone src/github.com/rclone/rclone
|
||||
cd src/github.com/rclone/rclone
|
||||
```
|
||||
|
||||
### Fixup the origin for the git repo
|
||||
|
||||
```
|
||||
git remote set-url origin git@github.com:rclone/rclone.git
|
||||
```
|
||||
|
||||
Test with
|
||||
|
||||
```
|
||||
git fetch origin
|
||||
```
|
Loading…
Reference in New Issue
Block a user