GitHub Tutorials
- Basic Starter Tutorial
Has basic introductory information for developing on GitHub. - An advanced/complex development methodology (one of many)
Has info on how to commit and such.
*Note: In the case of using this methodology;
When merging an added feature branch into the dev branch, be sure to use:--no ff
GitHub Tools
- TortoiseGIT
Integrates directly into the Windows Shell environment.
Note: Will need to install a special GIT program, the TortoiseGIT will notify you of this during install though.
*GIT Note: During install, when questioned about PATH, select the second option that DOES modify windows PATH partially, but not completely.
Github Basic Commands
- Cloning The repo (fresh) (the https:// can be found on the github repo page)
git clone https://github.com/SOMETHING/SOMETHINGELSE.git
- Fetch (get latest files, no merging done):
git fetch
- Pull (get latest files, merges as well as fast forward merging (complex stuff)):
git pull
- Display which branch you’re currently in:
git branch
- Switch to a branch (This command let’s you shift between branches and even to “master“)
git checkout branchname
- Committing Can be done by doing:
git status
- Then from the list of files, run:
git add "path/filename.ext"
- From there you can perform the following to commit ONLY those files:
git commit -m "Message goes here."
- Otherwise, to commit everything, simply use this: (-a = all changes, -m = message)
git commit -a -m "Message goes here"