Git/Example

From ScientificComputing
Revision as of 10:03, 20 October 2022 by Sfux (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You can download a github repository with the git clone command:

[sfux@eu-login-03 ~]$ git clone https://github.com/astropy/astropy.git
Initialized empty Git repository in /cluster/home/sfux/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.
[sfux@eu-login-03 ~]$

Please have a look at the git documentation for more information on the different git commands.