Git: Difference between revisions

392 bytes added ,  3 years ago
no edit summary
(Rescuing 1 sources and tagging 0 as dead. #IABot (v2.0beta10ehf1))
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 14:
 
[[GitHub]], GitLab and other sites are git repository hosting service, they offer the functionality of git as well as adding their own features. Having a centralized repository allows people to collaborate on projects.<ref name="eevb" /><ref>[https://en.wikipedia.org/wiki/GitHub GitHub], Wikipedia</ref>
 
=== Setting up a repository ===
To create a repo within an existing project folder, first cd to the root project folder and then execute the git init command.<ref name="suar">[https://www.atlassian.com/git/tutorials/setting-up-a-repository Setting up a repository], Atlassian.com</ref>
<syntaxhighlight lang="linux-config">
cd /path/to/your/existing/code
git init
</syntaxhighlight>
...
 
=== Github ===
GitHub lets you complete many Git-related actions without using the command line.<ref name="ghelp">[https://help.github.com/ GitHub Help]</ref> Images in a GitHub repository can be viewed in the browser and visually compared in different modes.<ref>[https://help.github.com/articles/rendering-and-diffing-images/ Rendering and diffing images], GitHub help</ref> To make use of this feature export schematic and PCB layouts as images.
 
{{stub}}
== References ==
{{reflist}}
Line 24 ⟶ 31:
== External links ==
* [https://git-scm.com/downloads Git downloads] for Mac OS X, Windows, Linux and Solaris
* [http://git-scm.com/book/en/v2 Pro Git Book – An open source book on Git] by Scott Chacon and Ben Straub, Apress, 2014, {{ISBN |1-4842-0077-2}}
* [https://git-scm.com/doc Git documentation]
* [https://en.wikipedia.org/wiki/Git Git], Wikipedia
Line 41 ⟶ 48:
 
[[Category:Version control systems]]
{{stub}}