git
The idiot's guide to git. I'm the idiot.
Configuring user name and email
Open the command line and type:
git config --global user.name "mal_c" git config --global user.email "hi@minimal.click"
You can confirm this has worked by typing:
git config --list
Create a new codeberg repository on the command line
Find a folder and then type the following:
touch README.md git init git branch -m main git checkout -b main git add README.md git commit -m "first commit" git remote add origin https://codeberg.org/mal_c/python-crash-course-notes.git git push -u origin main
To push from desktop to codeberg
git add . git commit -m "adding files" git push -u origin main
Created Tuesday 31 May 2022
Last updated Tuesday 31 May 2022