.
├── Exercise_CIR1_HHQFQDoFile2_2Page_Analysis.do
├── .gitignore <-- Tell git what to ignore
├── LICENSE <-- How can others use your repo?
├── README.md
├── data
│ └── CI
│ └── R1
│ └── CIR1_WealthWeightAll_6Dec2017.dta
└── templates
└── PMA_SOI_2P
└── DoFiles
├── CCRX_HHQFQDoFile2_2Page_Analysis.do
└── PMA2020_MedianDefineFn_simple.do
Taking someone's file and making changes to send back.
- Fork
- Clone
- Make branch
- Branches can be used in different ways. One possible way to use branches is to make a new branch whenever development starts for a new country survey round.
- Make changes
- Push
- Pull request
- Getting feedback
- Making more changes (if requested by a/the maintainer)
- Merge pull request (done by a/the maintainer)
Updating your repo from someone else's changes.
- Fetch changes
- Merge or rebase
- Handle merge conflicts
Merge conflicts can happen when the same "hunk" is affected in both branches, after they have diverged, and before they have re-merged.
