Created What to do after the repository move (markdown)

Nick Craig-Wood 2019-07-28 18:32:16 +01:00
parent a4a791e749
commit bc7bc5a447

@ -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
```