Learn More →
Phil Ewels /
Local clone setup
git clone git@github.com:username/repo.git
cd repo
git remote add upstream git@github.com:nf-core/repo.git
Pull updates
git status # check if we have any uncommitted changes
git pull # implicitly pulls default remote - origin
git pull upstream dev
git push # implicity pushes to default remote - origin
Do work
git checkout -b my_feature
git commit -am "I did a thing"
git push -u origin my_feature
remote:
remote: Create a pull request for 'my_feature' on GitHub by visiting:
remote: https://github.com/user/repo/pull/new/my_feature
remote:
gupdate
- https://github.com/ewels/dotfilesgh pr checkout 123
- https://cli.github.com.nf-core-lint.yml
lint_test_name: False
other_test:
- file_name.nf
- for_example.txt
docker build . -t nfcore/mypipeline:dev
docker tag nfcore/mypipeline:dev nfcore/mypipeline:1.0.1
nfcore
notnf-core
! 😫
mamba
insteaddocker exec -it nfcore/mypipeline:dev sh
See also - Bytesize 4: GitHub contribution basics
Chat: https://nf-co.re/join