Difference between revisions of "Git"
Jump to navigation
Jump to search
(show, tag) |
(→Commands: "git add" is what "stages" things) |
||
Line 15: | Line 15: | ||
|- | |- | ||
| valign=top | | | valign=top | | ||
− | * '''[[/add|git add]]''' updates the | + | * '''[[/add|git add]]''' updates the "staged" area using content found in the working tree (can be specified) |
* '''[[/checkout|git checkout]]''' | * '''[[/checkout|git checkout]]''' | ||
* '''[[/clone|git clone]]''' copies a repository from somewhere else | * '''[[/clone|git clone]]''' copies a repository from somewhere else | ||
Line 57: | Line 57: | ||
===Error Messages=== | ===Error Messages=== | ||
* '''Error Code 403 fatal: HTTP request failed''' may indicate a bad password. I've found that sometimes the password either doesn't paste properly or else isn't being accepted the first time; trying again with the same password may work. (The password is not displayed, so I'm not sure which it is.) | * '''Error Code 403 fatal: HTTP request failed''' may indicate a bad password. I've found that sometimes the password either doesn't paste properly or else isn't being accepted the first time; trying again with the same password may work. (The password is not displayed, so I'm not sure which it is.) | ||
+ | |||
==Links== | ==Links== | ||
===Reference=== | ===Reference=== |
Revision as of 03:31, 28 December 2014
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!
|
Rules
You can't push to a repository that has been edited elsewhere; you have to pull first, which updates (synchronizes) your local repository from the remote (does not remove any files, but may modify files if the same files have been updated on the remote). Once your local is synchronized with the remote, you can then push it back up.
Commands
alphabetical | by function |
---|---|
|
initialization
creating from scratch
copying to elsewhere
copying from elsewhere
|
Software
Services
- GitHub: free web-based git repository for open-source projects
Error Messages
- Error Code 403 fatal: HTTP request failed may indicate a bad password. I've found that sometimes the password either doesn't paste properly or else isn't being accepted the first time; trying again with the same password may work. (The password is not displayed, so I'm not sure which it is.)
Links
Reference
Online Books
- Pro Git
- 1.3 Getting Started - Git Basics
- 1.6 Getting Started - Getting Help
- 2. Git Basics - "If you can read only one chapter to get going with Git, this is it. This chapter covers every basic command you need to do the vast majority of the things you’ll eventually spend your time doing with Git."
Online Courses
- Learn to use Git @ Code School (free registration required)