Created
September 30, 2013 17:18
-
-
Save isidromerayo/6767054 to your computer and use it in GitHub Desktop.
Simple workflow using GitHub from openEHR java-libs
This file contains hidden or 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
1) Initialize | |
# Fork button github | |
# From my fork to my local | |
$ git clone https://github.com/isidromerayo/java-libs openEHR_java-libs | |
# Add original repository | |
$ git remote add upstream https://github.com/openEHR/java-libs | |
2) | |
# Check status from my repositiry | |
$ git fetch origin -v | |
# Check status from upstream | |
$ git fetch upstream -v | |
# Fetch from upstream | |
$ git fetch upstream | |
# Receive changes from upstream to my local | |
$ git merge upstream/master | |
# Check status | |
$ git status | |
# Push | |
$ git push | |
Note: | |
# Show remote branches | |
git branch -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment