If you want to work on your machine and don't need a remote repository, or you want to upload your repository at a later time, you can create a local repository:
# Initialize a new repository
git initThe first step will be to add your public key to github:
~/.ssh/id_rsa).git clone [email protected]/your_user/some_private_repo.gitAfter attaching the volume to the instance, you can check the device list. The new device will be listed as created recently:
$ ls -l /dev | grep xvd
brw-rw---- 1 root disk 202, 0 Jul 13 2020 xvda
brw-rw---- 1 root disk 202, 1 Jul 13 2020 xvda1Since August 13, 2021 GitHub is no longer allowing users to access repositories with username/password authentication. This will affect users accesing github repositories from command line clients.
You will need to create a Personal Access Token (PAT) if you wish to continue accessing your repositories from the command line.
Instructions for how to create a PAT can be found on GitHub. It's a simple process and at the time of this writing it consists on going to your profile's Developer Settings at Your Github profile -> Settings -> Developer Settings (click on your profile picture to find the link to Your GitHub profile).
When creating yor access token for accessing your repositories it is better if you set an expiration date[*](#f1
If you are on macOS Catalina, your default shell is most likely zsh but to make sure, run the following commands:
# Check your default shell:
echo $SHELL
# Check your current shell (if you configured your terminal to use a specific shell different front your default):
ps -o comm= $$Understanding Swift Types (More on Types: Swift Documentation)
Emoticons and How to work with them (More on Strings: Swift Documentation)