Git
Jump to navigation
Jump to search
About
Git is a version control system based on a powerful distributed model.
This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!
|
Commands
- git config --global <param_name> <param_value>
- param_name: user.name, user.email, core.editor
- git config --list
- lists current configuration parameters
- git config <param_name>
- lists the current value for the given parameter
- git add
- updates the index using the current content found in the working tree, to prepare the content staged for the next commit
- git reset
- resets current HEAD to the specified state
- git fetch
- fetches named heads or tags from one or more other repositories, along with the objects necessary to complete them.
- git push
- updates remote refs using local refs, while sending objects necessary to complete the given refs
- git pull
- Incorporates changes from a remote repository into the current branch. In its default mode, git pull is shorthand for git fetch followed by git merge FETCH_HEAD.
- git stash
- saves your local modifications away and reverts the working directory to match the HEAD commit
Software
- git-cola: git GUI client
Services
- GitHub: free web-based git repository for open-source projects
Links
Reference
Online Books
Online Courses
- Learn to use Git @ Code School (free registration required)