47 lines
607 B
Text
Executable file
47 lines
607 B
Text
Executable file
This is helpful: http://gitimmersion.com/
|
|
|
|
DO THESE THINGS:
|
|
|
|
|
|
|
|
git config --global user.name "NAME"
|
|
|
|
git config --global user.email "EMAIL"
|
|
|
|
|
|
|
|
Make a new directory for the repository and navigate into it:
|
|
|
|
|
|
|
|
git init
|
|
|
|
git remote add origin https://github.tamu.edu/scho4077/315ABBW.git
|
|
|
|
|
|
|
|
Once you've added or changed a file:
|
|
|
|
|
|
|
|
git commit -m "this is a description of what you're doing!"
|
|
|
|
git push -u origin master
|
|
|
|
|
|
|
|
Change branch as necessary
|
|
|
|
Get updates from website with:
|
|
|
|
|
|
|
|
git pull
|
|
|
|
|
|
|
|
FUN FACT: When making new files, type this:
|
|
|
|
|
|
|
|
git add filename.txt
|