-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
130 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
1. Fork it ( http://github.com/my-codeworks/fortnox-api/fork ) | ||
2. Clone your fork (`git clone https://github.com/<your GitHub user | ||
name>/fortnox-api.git`) | ||
3. Create your feature branch (`git checkout -b my-new-feature`) | ||
4. Commit your changes (`git commit -am 'Add some feature'`) | ||
5. Push to the branch (`git push origin my-new-feature`) | ||
6. Create new Pull Request | ||
|
||
### Adding upstream remote | ||
|
||
If you want to keep contributing, it is a good idea to add the original repo as | ||
remote server to your clone ( `git remote add upstream | ||
https://github.com/my-codeworks/fortnox-api` ). Then you can do something like | ||
this to update your fork: | ||
|
||
1. Fetch branches from upstream (`git fetch upstream`) | ||
2. Checkout your master branch (`git checkout master`) | ||
3. Update it (`git rebase upstream/master`) | ||
4. And push it to your fork (`git push origin master`) | ||
|
||
If you want to update another branch: | ||
``` | ||
git checkout branch-name | ||
git rebase upstream/branch-name | ||
git push origin branch-name | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters