Skip to content

Commit 764c953

Browse files
authored
Added command to pull all branches locally
1 parent b8d7d8c commit 764c953

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
##Getting started
1+
## Getting started
22
* `npm i`
33

4-
##Todo
4+
## Todo
55

66
create a basic server with express
77
that will send back the index.html file on a GET request to '/'
88
it should then send back jsonData on a GET to /data
9+
10+
## Fetch all branches locally
11+
12+
```
13+
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
14+
git fetch --all
15+
git pull --all
16+
```

0 commit comments

Comments
 (0)