This repository has been archived by the owner on Sep 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added future update support to README.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 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 |
---|---|---|
|
@@ -73,6 +73,35 @@ and summarized under [Releases]. | |
[Releases]: https://github.com/razor-x/ruby-gem/releases | ||
[The Unlicense]: http://unlicense.org/UNLICENSE | ||
|
||
#### Add future update support | ||
|
||
If you want to merge in future updates from this skeleton and have your own origin, | ||
set up a separate branch to track this. | ||
|
||
````bash | ||
$ git remote rename origin upstream | ||
$ git branch ruby-gem | ||
$ git branch -u upstream/master ruby-gem | ||
```` | ||
|
||
Then add an origin and push master | ||
|
||
````bash | ||
$ git remote add origin [email protected]:your_username/your_gemname.git | ||
$ git push -u origin master | ||
```` | ||
|
||
Now, the `ruby-gem` branch will pull changes from this project, | ||
which you can then merge into your other branches. | ||
|
||
If you later clone your repo you will need to create the update branch again. | ||
|
||
````bash | ||
$ git remote add upstream https://github.com/razor-x/ruby-gem.git | ||
$ git fetch upstream | ||
$ git checkout -b ruby-gem upstream/master | ||
```` | ||
|
||
## Installation | ||
|
||
Add this line to your application's Gemfile: | ||
|