GitHub

Instructions for using Git Hub.

All group activities should be using the TGen Github site (github.com/tgen), which has unlimited public and private repositories

How do you use git

Still learning but need to record current steps

git clone "repository"
# The "repository" can be copied from the repository website
# Copy the link under the "Clone or Download" button
# This version is the SSH version there is also an HTTPS version
git clone git@github.com:tgen/Institutional_Instructions.git

cd into repository

cd Institutional_Instructions/

git pull #this pulls down most recent data

git pull
# Likely get the following message the first time, before modifying you should "pull" to get most recent code
Already up-to-date.

MODIFY THE FILES YOU NEED TO MODIFY

IF YOU CREATED NEW FILES YOU WILL NEED TO "ADD" THEM BEFORE COMMITTING AND PUSHING

git add Message.sh
    
git add file OR git add folder
#Add gender test folder
git add gender_test/
#Add all files in gender test folder
git add gender_test/*

git commit -am "your comment about what you changed"

git push #this pushes your changes to github

git commit -am "Added message file for example ADD, COMMIT, and PUSH"
git push