Git: Difference between revisions

283 bytes added ,  3 years ago
no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 16:
 
=== 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 27 ⟶ 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 44 ⟶ 48:
 
[[Category:Version control systems]]
{{stub}}