#######################
#---PULLING CHANGES---#
#######################
#Check if contributors repo is set up as a remote branch on your dev machine: 
git remote -v

#If not, add the remote branch and fetch the latest changes:
git remote add -f msuchard git://github.com/msuchard/SPREAD.git

#Check if you already have a local copy of their repo:
git branch -a

#If not, create it and check it out with:
git checkout -b msuchard/master

#If you do already have a local copy of their repo, fetch the latest changes:
git fetch msuchard

#Get their changes into your personal working branch:
git checkout master
git cherry-pick <hash of user's specific changes that they requested you to pull>

#pull it all
git pull msuchard master
git push origin

##########################
#---NEW GIT REPOSITORY---#
##########################
cd /home/filip/Dropbox/JavaProjects/Spread
git init
git remote add origin git@github.com:fbielejec/SPREAD.git
git pull origin master

################
#---REMOVING---#
################
# git rm templates/world_map.txt

###############
#---REMOTES---#
###############
git remote rm phylogeography 

git remote add phylogeography git@github.com:phylogeography/SPREAD.git

git push origin master

git remote rm origin 

git remote add origin git@github.com:fbielejec/SPREAD.git



git checkout remotes/phylogeography/master 
git pull phylogeography 
git checkout master 
git merge remotes/phylogeography/master 


