Skip to content

git and GitHub FAQ

goldy edited this page Jul 7, 2020 · 11 revisions

Frequently Asked Questions about git and GitHub

Ask a question by creating a new topic or post on the DiscussCESM forums!

Current List of Answered Questions

Question: How can I clone someone's git clone to my directory on the same machine?

Answer: git clone <path_name> [<local_dir>] where <path_name> is the location of the source git clone and the optional <local_dir> is the name of the clone (default is a local directory of the same name as the original).

Question: How can I clone someone's git clone to my directory on a different machine?

Answer: git clone ssh://<user>@<machine>:<path_name> [<local_dir>] where <user> is your user name on the remote machine, <machine> is the machine name (e.g., cheyenne.ucar.edu), <path_name> is the location of the source git clone on the remote machine, and the optional <local_dir> is the name of the clone (default is a local directory of the same name as the original).