Skip to content

Commit a47c156

Browse files
committed
Updated README.
1 parent e9421cb commit a47c156

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,21 @@ repo.read('master', 'path/to/file', function(err, data) {
4040
});
4141
```
4242

43+
Move a file from A to B.
44+
45+
```js
46+
repo.move('master', 'path/to/file', 'path/to/new_file', function(err) {
47+
48+
});
49+
50+
51+
Remove a file.
52+
53+
```js
54+
repo.remove('master', 'path/to/file', function(err) {
55+
56+
});
57+
4358
Listing all files of a repository is easy too.
4459
4560
```js

0 commit comments

Comments
 (0)