Changes between Version 16 and Version 17 of HowToGit
- Timestamp:
- 05/18/19 08:20:17 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToGit
v16 v17 18 18 ~~Here no fork needed but create feature branch(es) on master (to be discussed; GDAL always forks)~~ 19 19 20 First [https://github.com/OSGeo/grass fork the GRASS GIS repo] in the !GitHub UI .20 First [https://github.com/OSGeo/grass fork the GRASS GIS repo] in the !GitHub UI to `your_GH_account`. 21 21 22 Then:22 One time only (both https and ssh key ways are shown): 23 23 {{{ 24 # EITHER ("origin" points to original repo) 25 ## a) https way 24 26 git clone https://github.com/OSGeo/grass 27 git remote add your_GH_account https://github.com/your_GH_account/grass.git 28 29 ## b) ssh way 30 git clone git@github.com:OSGeo/grass.git 31 git remote add your_GH_account git@github.com:your_GH_account/grass.git 32 33 34 # OR ("origin" points to your fork repo) 35 ## a) https way 36 git clone https://github.com/your_GH_account/grass 37 git remote add upstream https://github.com/OSGeo/grass.git 38 39 ## b) ssh way 40 git clone git@github.com:your_GH_account/grass.git 41 git remote add upstream https://github.com/OSGeo/grass.git 42 43 # then 25 44 cd grass/ 45 }}} 26 46 47 Working with git: 48 {{{ 27 49 # <make local source code changes> 28 50 vim ...