-
Notifications
You must be signed in to change notification settings - Fork 1
Checkout from github
smahaffey edited this page Oct 30, 2012
·
3 revisions
Use source tree on development machines or git on servers to checkout.
URL: https://username@github.com/TabakoffLab/PhenoGen.git Destination: /usr/share/tomcat/webapps/PhenoGen Bookmark Name: PhenoGen Advanced: Get working copy: true Checkout branch: develop (All development should occur on development except hotfixes) Recurse submodules: true
Note: We will generally try to keep master on compbio, but at the begining current files are in develop so it is checked out on compbio. See switching branches for directions on moving from one branch to another. PhenoGen will always be the master branch.
- Login as tomcat and cd to PhenoGen or PhenoGenTEST.
- run
git status
Check to make sure no files have been modified on compbio. Files will be listed as either modified, untracked(additional files not checked in), removed, etc.
If anything changed you can either discard:
git checkout -- <file>or commit:
git add <file> git commit
Then pull files from GitHub by using the following:
git pull origin <branch> ex. git pull origin develop or git pull origin masterdepending on the branch being used.
- Login as tomcat and cd to PhenoGen or PhenoGenTEST.
- run
git statusCheck to make sure no files have been modified on compbio. Files will be listed as either modified, untracked(additional files not checked in), removed, etc.
If anything changed you can either discard:
git checkout -- <file>or commit:
git add <file> git commit
Then checkout files from GitHub by using the following:
git checkout origin/<branch>ex. git checkout origin/develop or git checkout origin/master
depending on the branch being used.