Difference between revisions of "Git"
Jump to navigation
Jump to search
(git remote, git push) |
(rules) |
||
Line 7: | Line 7: | ||
==About== | ==About== | ||
[[Git]] is a [[version control system]] based on a powerful distributed model.{{seed}} | [[Git]] is a [[version control system]] based on a powerful distributed model.{{seed}} | ||
+ | ==Rules== | ||
+ | You can't {{l/sub|push}} to a repository that has been edited elsewhere; you have to {{l/sub|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== | ==Commands== | ||
{| | {| |
Revision as of 02:23, 12 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
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)