Choose from over 30,000+ eBooks, AudioBooks, Courses & Podcasts now - for Free! Download wonderful eBooks & Audiobooks now - for Free!
Search results
Today you will embark on an exciting new adventure: learning how to use Git and GitHub. As we move through today's materials, please keep in mind: this class is for you! Be sure to follow along, try the activities, and ask lots of questions!
- INSTALLATION & GUIS
- GitHub for Mac
- SETUP
- SETUP & INIT
- STAGE & SNAPSHOT
- BRANCH & MERGE
- SHARE & UPDATE
- REWRITE HISTORY
- TEMPORARY COMMITS
- IGNORING PATTERNS
- Education
With platform specific installers for Git, GitHub also provides the ease of staying up-to-date with the latest releases of the command line tool while providing a graphical user interface for day-to-day interaction, review, and repository synchronization.
htps://mac.github.com For Linux and Solaris platforms, the latest release is available on the official Git web site.
Configuring user information used across all local repositories git config --global user.name “[firstname lastname]” set a name that is identifiable for credit when review version history git config --global user.email “[valid-email]” set an email address that will be associated with each history marker git config --global color.ui auto set automat...
Configuring user information, initializing and cloning repositories git init initialize an existing directory as a Git repository git clone [url] retrieve an entire repository from a hosted location via URL
Working with snapshots and the Git staging area git status show modified files in working directory, staged for your next commit git add [file] add a file as it looks now to your next commit (stage) git reset [file] unstage a file while retaining the changes in working directory git diff diff of what is changed but not staged git diff --staged diff...
Isolating work in branches, changing context, and integrating changes git branch list your branches. a * will appear next to the currently active branch git branch [branch-name] create a new branch at the current commit git checkout switch to another branch and check it out into your working directory git merge [branch] merge the specified branch’s...
Retrieving updates from another repository and updating local repos git log show the commit history for the currently active branch git log branchB..branchA show the commits on branchA that are not on branchB git log --follow [file] show the commits that changed file, even across renames git diff branchB...branchA show the diff of what is in branch...
Rewriting branches, updating commits and clearing history git rm [file] delete the file from project and stage the removal for commit git rebase [branch] apply any commits of current branch ahead of specified one git mv [existing-path] [new-path] change an existing file path and stage the move git reset --hard [commit] clear staging area, rewrite w...
Temporarily store modified, tracked files in order to change branches
Preventing unintentional staging or commiting of files logs/ *.notes pattern*/ Save a file with desired paterns as .gitignore with either direct string matches or wildcard globs. git config --global core.excludesfile [file] system wide ignore patern for all local repositories
Teach and learn beter, together. GitHub is free for students and teach-ers. Discounts available for other educational uses. education@github.com education.github.com
- 97KB
- 2
Downloading and Installing Git. If you don't already have Git installed, you can download Git at www.git-scm.com. If you need additional assistance installing Git, you can find more information in the ProGit chapter on installing Git: http://git-scm.com/book/en/v2/Getting-Started-Installing-Git .
- 2MB
- 57
This is an open-source introduction to Git and GitHub guide that will help you learn the basics of version control and start using Git for your SysOps, DevOps, and Dev projects.
This tutorial focuses on downloading a repository's files to your local computer. For example, if you've found some interesting content in a repository on GitHub, downloading is a simple way to get a copy of the content, without using Git or applying version control.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. GitHub is a web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own ...
People also ask
Where can I find a GitHub training manual?
What is the GitHub training manual repository?
What is Git & how do I use it?
What is GitHub training?
What is GitHub & how does it work?
How do I download a GitHub code?
Welcome to the GitHub Training Manual repository. In this repository, you will find the content used by the GitHub Professional Services team during our official GitHub training courses and the scripts used when teaching. The content is all written in Markdown, and the scripts are shell scripts.