Monday, 12 February 2018

git remote show upstream seems to work :-)

Update (14:23): Changed to version 0.99.10 to be sure that I know what is going to be built and thus tested on Github.

git push upstream master

says that it's on Bioconductor so worked!


Checking the git status of drawProteins


Steps
1.  Open Terminal
2.  Using cd, navigate to drawProteins folder
3.  git status
Possible output
On branch master
Your branch is up-to-date with 'origin/master'.


nothing to commit, working tree clean

4.  Check the upstream connection with git remote show upstream
Possible output:
* remote upstream
  Fetch URL: git@git.bioconductor.org:packages/drawProteins.git
  Push  URL: git@git.bioconductor.org:packages/drawProteins.git
  HEAD branch: master
  Remote branch:
    master new (next fetch will store in remotes/upstream)
  Local ref configured for 'git push':

    master pushes to master (up to date)

5.  Pull Upstream Changes (http://bioconductor.org/developers/how-to/git/pull-upstream-changes/)
 git checkout master
 git fetch upstream
git merge upstream/master
Possible output:

Already up-to-date.

v1791-0a670637:drawProteins paulbrennan$ git fetch --all
Fetching origin
Fetching upstream

v1791-0a670637:drawProteins paulbrennan$ git merge upstream/master
Already up-to-date.

v1791-0a670637:drawProteins paulbrennan$ git push upstream master
Counting objects: 23, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (23/23), done.
Writing objects: 100% (23/23), 3.38 KiB | 3.38 MiB/s, done.
Total 23 (delta 18), reused 0 (delta 0)
To git.bioconductor.org:packages/drawProteins.git
   4150fc6..ec5455e  master -> master


This seems to have worked.
Hopefully, build problems with Bioconductor will go away.

Check overnight build and see how it goes tomorrow.


No comments:

Post a Comment