Difference between revisions of "Git/Example"
From ScientificComputing
(Created page with "You can download a github repository with the <tt>git clone</tt> command: [leonhard@euler03 ~]$ git clone https://github.com/astropy/astropy.git Initialized empty Git repos...") |
|||
Line 1: | Line 1: | ||
You can download a github repository with the <tt>git clone</tt> command: | You can download a github repository with the <tt>git clone</tt> command: | ||
− | [leonhard@euler03 ~]$ git clone https://github.com/astropy/astropy.git | + | [leonhard@euler03 ~]$ '''git clone https://github.com/astropy/astropy.git''' |
Initialized empty Git repository in /cluster/home/leonhard/astropy/.git/ | Initialized empty Git repository in /cluster/home/leonhard/astropy/.git/ | ||
remote: Counting objects: 111782, done. | remote: Counting objects: 111782, done. | ||
Line 9: | Line 9: | ||
Resolving deltas: 100% (85075/85075), done. | Resolving deltas: 100% (85075/85075), done. | ||
[leonhard@euler03 ~]$ | [leonhard@euler03 ~]$ | ||
+ | |||
+ | Please have a look at the git documentation for more information on the different git commands. |
Latest revision as of 09:34, 8 November 2016
You can download a github repository with the git clone command:
[leonhard@euler03 ~]$ git clone https://github.com/astropy/astropy.git Initialized empty Git repository in /cluster/home/leonhard/astropy/.git/ remote: Counting objects: 111782, done. remote: Compressing objects: 100% (60/60), done. remote: Total 111782 (delta 34), reused 0 (delta 0), pack-reused 111722 Receiving objects: 100% (111782/111782), 49.05 MiB | 16.04 MiB/s, done. Resolving deltas: 100% (85075/85075), done. [leonhard@euler03 ~]$
Please have a look at the git documentation for more information on the different git commands.