DEV Community

Samuel Lubliner
Samuel Lubliner

Posted on • Edited on

1

Setting up VSCode, Git, and GitHub

Opening files in VSCode from the command line

Open the Command Palette and then type shell command.

Select Shell Command: Install 'code' command in PATH.

Install Homebrew

From the terminal, run:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Follow Homebrew's next steps to add Homebrew to PATH.

Update Git

brew install git

git --version

Make sure Git version is at least 2.28.

If necessary, run

brew doctor
brew cleanup

Configure Git and GitHub

git config --global user.name "Your Name"
git config --global user.email "yourname@example.com"

git config --global init.defaultBranch main

git config --global pull.rebase false

echo .DS_Store >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
Enter fullscreen mode Exit fullscreen mode

SSH Key

Check if Ed25519 algorithm SSH key is already installed

ls ~/.ssh/id_ed25519.pub

To create a new SSH key:

ssh-keygen -t ed25519 -C "your@email.com"

Link your SSH key with GitHub

Create new New SSH Key on GitHub

Copy your public SSH key.

cat ~/.ssh/id_ed25519.pub

Paste the key into GitHub.

Testing your key

$ ssh -T git@github.com

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay