Skip to content

Instantly share code, notes, and snippets.

View bvlourenco's full-sized avatar
😀
Hi There 👋

Bernardo Lourenço bvlourenco

😀
Hi There 👋
View GitHub Profile
@bvlourenco
bvlourenco / github_new_repo.md
Created November 25, 2023 14:23
Create new repo

New repo

echo "# TEST" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:bvlourenco/TEST.git
git push -u origin main
@bvlourenco
bvlourenco / Gitlab_SSH_Key.md
Last active October 4, 2023 08:26
Create a SSH Key for Git/Gitlab

To create an SSH key locally:

cd ~/.ssh

# Creates a new pair of SSH keys using elliptic curve called ed25519
# You will have to prompt the path to save the key and a passphrase
ssh-keygen -t ed25519

# Creates a new file called config that will store information about the key and who will access it
@bvlourenco
bvlourenco / SSHKey.md
Last active October 4, 2023 08:27
Create new SSH key for Git/Github

To create an SSH key locally:

cd ~/.ssh

# Creates a new pair of SSH keys using elliptic curve called ed25519
# You will have to prompt the path to save the key and a passphrase
ssh-keygen -t ed25519

# Creates a new file called config that will store information about the key and who will access it