mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
README: add description working with branch
This commit is contained in:
parent
54b84b5a61
commit
6adc4db800
1 changed files with 14 additions and 1 deletions
15
README.md
15
README.md
|
|
@ -35,13 +35,26 @@ git push -u origin [branch_name]
|
||||||
|
|
||||||
// go to upstream repo(https://github.com/orakle-opensource/EIP_opensource.git) and create pull request
|
// go to upstream repo(https://github.com/orakle-opensource/EIP_opensource.git) and create pull request
|
||||||
```
|
```
|
||||||
3. After merge pull request
|
3. After merging pull request
|
||||||
```
|
```
|
||||||
// checkout master and pull upstream commits
|
// checkout master and pull upstream commits
|
||||||
git checkout master
|
git checkout master
|
||||||
git pull upstream master
|
git pull upstream master
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### If branch
|
||||||
|
|
||||||
|
the case for working by creating branch on our repository
|
||||||
|
|
||||||
|
```
|
||||||
|
// create branch -> commit -> push
|
||||||
|
git checkout -b [branch_name]
|
||||||
|
git add . | git commit -m "message"
|
||||||
|
git push -u origin [branch_name]
|
||||||
|
|
||||||
|
// go to repo and create pull request
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The go-ethereum library (i.e. all code outside of the `cmd` directory) is licensed under the
|
The go-ethereum library (i.e. all code outside of the `cmd` directory) is licensed under the
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue