Changes between Version 16 and Version 17 of HowToGit


Ignore:
Timestamp:
May 18, 2019, 8:20:17 AM (5 years ago)
Author:
neteler
Comment:

cleanup attempt

Legend:

Unmodified
Added
Removed
Modified
  • HowToGit

    v16 v17  
    1818~~Here no fork needed but create feature branch(es) on master (to be discussed; GDAL always forks)~~
    1919
    20 First [https://github.com/OSGeo/grass fork the GRASS GIS repo] in the !GitHub UI.
     20First [https://github.com/OSGeo/grass fork the GRASS GIS repo] in the !GitHub UI to `your_GH_account`.
    2121
    22 Then:
     22One time only (both https and ssh key ways are shown):
    2323{{{
     24# EITHER ("origin" points to original repo)
     25## a) https way
    2426git clone https://github.com/OSGeo/grass
     27git remote add your_GH_account https://github.com/your_GH_account/grass.git
     28
     29## b) ssh way
     30git clone git@github.com:OSGeo/grass.git
     31git 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
     36git clone https://github.com/your_GH_account/grass
     37git remote add upstream https://github.com/OSGeo/grass.git
     38
     39## b) ssh way
     40git clone git@github.com:your_GH_account/grass.git
     41git remote add upstream https://github.com/OSGeo/grass.git
     42
     43# then
    2544cd grass/
     45}}}
    2646
     47Working with git:
     48{{{
    2749# <make local source code changes>
    2850vim ...