[PYTHON] How to create a clone from Github

This section describes the procedure for creating a clone.

First, let's create a key. % ssh-keygen

+---[RSA 3072]----+
|          .o     |
|         .o o    |
|        +  o o   |
|       . o  . .  |
|        S . o..  |
|  ..o  =.o o.=   |
|o .+..+.*...+    |
|=oo.+++o.+o.     |
|*+o=BE. .oo.     |
+----[SHA256]-----+

How to register the key on github.

スクリーンショット 2020-10-13 23.21.35.png

Register the key on Github as shown by the arrow

% ls ~/.ssh
  id_rsa          id_rsa.pub      known_hosts     rsa_GitHub      rsa_GitHub.pub

,,, Copy the contents of id_rsa.pub.

% vi ~/.ssh/id_rsa.pub

Enter and put the displayed contents in the blank box of "key".

スクリーンショット 2020-10-13 23.38.38.png

Issue Add SSH KEY. スクリーンショット 2020-10-13 23.37.18.png

Registration is completed with.

Open a terminal and enter the following command

% git clone [email protected]:ochun0116/saku202010.git


Cloning into 'saku202010'...
Enter passphrase for key '/Users/yuota/.ssh/id_rsa':

Enter your password. (Since the password does not respond even if you enter it), enter when you finish entering.

remote: Enumerating objects: 8337, done.
remote: Counting objects: 100% (8337/8337), done.
remote: Compressing objects: 100% (5221/5221), done.
remote: Total 8337 (delta 2045), reused 8337 (delta 2045), pack-reused 0
Receiving objects: 100% (8337/8337), 12.16 MiB | 5.62 MiB/s, done.
Resolving deltas: 100% (2045/2045), done.
Updating files: 100% (6155/6155), done.

That's it!

Confirm that the clone has been created. スクリーンショット 2020-10-13 23.52.20.png

Recommended Posts

How to create a clone from Github
How to create a git clone folder
How to create a repository from media
How to create a function object from a string
How to clone github remote repository from atom
How to create a kubernetes pod from python code
How to create a Conda package
How to create a virtual bridge
How to create a Dockerfile (basic)
How to create a config file
Edit Excel from Python to create a PivotTable
How to create a Python virtual environment (venv)
How to open a web browser from python
How to create a JSON file in Python
How to generate a Python object from JSON
How to extract coefficients from a fractional formula
How to create a shortcut command for LINUX
[Note] How to create a Ruby development environment
How to create a Kivy 1-line input box
How to create a multi-platform app with kivy
How to create a Rest Api in Django
[Note] How to create a Mac development environment
Read the Python-Markdown source: How to create a parser
How to create an article from the command line
How to create a submenu with the [Blender] plugin
How to call a function
[Go] How to create a custom error for Sentry
How to hack a terminal
How to create a local repository for Linux OS
How to create a simple TCP server / client script
How to post a ticket from the Shogun API
How to take a captured image from a video (OpenCV)
Python script to create a JSON file from a CSV file
[Python] How to create a 2D histogram with Matplotlib
[Python] How to call a c function from python (ctypes)
How to create a radial profile from astronomical images (Chandra, XMM etc.) using python
How to use NUITKA-Utilities hinted-compilation to easily create an executable file from a Python script
How to use GitHub on a multi-person server without a password
How to slice a block multiple array from a multiple array in Python
How to manage a README for both github and PyPI
How to run a Python program from within a shell script
How to launch AWS Batch from a python client app
How to create a flow mesh around a cylinder with snappyHexMesh
I made a tool to create a word cloud from wikipedia
How to generate a public key from an SSH private key
[Python Kivy] How to create a simple pop up window
How to create a SAS token for Azure IoT Hub
How to get a list of links from a page from wikipedia
How to make a Japanese-English translation
How to write a Python class
How to use SWIG from waf
How to put a symbolic link
Steps to create a Django project
Create folders from '01' to '12' with python
Create a pandas Dataframe from a string.
How to make a slack bot
How to create your own Transform
How to create an email user
How to make a crawler --Advanced
How to make a recursive function
How to create / delete symbolic links