Skip to content
This repository was archived by the owner on Sep 25, 2023. It is now read-only.

Commit 1b5bcfa

Browse files
committed
add notes for forked development repositories
1 parent 0f2579f commit 1b5bcfa

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,32 @@ Enjoy!
5757
## Contributions
5858

5959
We welcome contributions to Atlas! If you'd like to get your hands dirty, please [fork the repositories](https://help.github.com/articles/fork-a-repo) and submit [pull requests](https://help.github.com/articles/using-pull-requests) with your changes.
60+
61+
### setup environment
62+
63+
Fork on github
64+
Clone it
65+
git clone https://github.com/<yourname>/atlas.git
66+
Add upstream
67+
git remote add upstream https://github.com/atlasapi/atlas.git
68+
git fetch upstream
69+
70+
Don't forget to set email and username! https://help.github.com/articles/setting-your-email-in-git
71+
72+
## update master from upstream
73+
74+
https://help.github.com/articles/fork-a-repo
75+
76+
$ git fetch upstream
77+
$ git merge upstream/master
78+
$ git push origin master
79+
80+
## create a local feature branch
81+
82+
$ git checkout -b <name of branch>
83+
or the longer form
84+
$ git branch <name of branch>
85+
$ git checkout <name of branch>
86+
87+
## todo, figure out a good way to have local master / stage separate from upstream master / stage
88+

0 commit comments

Comments
 (0)