#forked from dib-lab to try without disturbing them
This is a Git hub repository for intial training on Bash commands and co-operation on github. The repository has 3 files:
- hg19.coding_subset.bed: This a bed file for coding genes of 3 human chromosomes. This file represents the input of required tasks.
- main.sh: This is a bash script file. At the begining, I explain how I created the bed file. Then there is description of the required tasks
- README file: This is the file you are reading now.
-
Fork the repository from the dib-lab page to your account
-
clone the repo to your computer (exchange the word "USER" with you github username)
git clone https://github.com/USER/training-by-practice.git
cd training-by-practice
-
update the url of your remote github repo (I only need to do this on our super computer)
git remote set-url origin https://USER@github.com/USER/training-by-practice.git
-
Connect your local repo to the original remote github repo
git remote add DIB https://USER@github.com/dib-lab/training-by-practice.git
-
move to the template branch
git checkout -b template1 origin/template1
-
make your code changes to solve required tasks
-
commit these changes to your remote template branch. Please do not add the output files to your commit
git add main.sh
git commit -m "name tasks you finished"
git push origin template1
-
make pull request from your github webpage. Make sure to change the branch to the template branch before making the pull request.
-
When your pull request is accepted, more tasks will be added. You need to pull these new changes to your local repo. Make sure you are in the tamplate branch. Then you can repeat the steps 6-8 and so on
git checkout template1
git pull DIB template1