Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| en:uhsdr_dev:git [13.03.2018 12:52] – github changes 2 df9ts_user | en:uhsdr_dev:git [16.03.2018 13:09] (current) – [Further reading] df9ts_user | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ==== Option: Use " | ==== Option: Use " | ||
| + | |||
| + | A git cheat sheet can be found {{ : | ||
| === Fork UHSDR to your own remote github repo === | === Fork UHSDR to your own remote github repo === | ||
| Line 35: | Line 37: | ||
| * Your github fork is now synchronised with DF8OE UHSDR main repo | * Your github fork is now synchronised with DF8OE UHSDR main repo | ||
| + | === Creating branches for tests and experiments === | ||
| + | Before creating any new branch please pull the changes from upstream as explained above. Make sure your forked repo is up to date. | ||
| + | * Create the branch on your local machine and switch in this branch :< | ||
| + | * Change working branch : < | ||
| + | * Push the branch from local repo onto remote github : < | ||
| + | * When you want to commit something in your branch, be sure to be in your branch. Add -u parameter to set upstream. To check current branch use < | ||
| + | * Add a new remote for your branch : < | ||
| + | * Push changes from your commit into your branch : < | ||
| + | * Update your branch when the original branch from official repository has been updated : < | ||
| + | * Then you need to apply to merge changes, if your branch is derivated from develop you need to do : < | ||
| + | * Delete a branch on your local filesystem : < | ||
| + | * To force the deletion of local branch on your filesystem : < | ||
| + | * Delete the branch on github : < | ||
| === Use local UHSDR clone in Eclipse === | === Use local UHSDR clone in Eclipse === | ||
| Line 64: | Line 78: | ||
| ==== Further reading ==== | ==== Further reading ==== | ||
| https:// | https:// | ||
| + | http:// | ||
| + | |||