devops_stuff
DevOps Stuff (Under Construction)
Getting Started with Git
For now, this section assumes that the platform in use is Linux, and that the Git repository hosting platform in use is Gitea.
Install git
sudo apt -y install git
Generate an ed25519 ssh key
ssh-keygen -t ed25519 -C "gitea-key" -f ~/.ssh/gitea_key
Add the key to Gitea
Steps to create a repo and get it into Gitea
cd <repo directory> git init git remote add origin ssh://git@192.168.1.85:2222/mike/<repo-name>.git git status git add . git commit -m "Initial Commit" git push -u origin main
devops_stuff.txt · Last modified: by mike
