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
git remote add <remote_name> <original-repo> | |
# => add remote refs named (whatever) to targeted the original repo | |
git fetch <remote_name> | |
git merge <remote_name>/<branch-name> | |
# => safely gathers any commits from original repo and stores them in your local repo | |
** if auto-merging conflict, use `git diff --color` to check/edit the files | |
and commit it first before push to the remote repo |
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
bundle gem <name> # => to create gem skeleton | |
gem build <name>.gemspec # => build the gem | |
gem push <name>.gem # => push the gem to rubygems.org | |
gem yank <name> -v VERSION # => to yanking the gems | |
NewerOlder