1. create a new repository
Open Swarmlab Gitea
Use any web browser on your computer to join
1.1. Sign In
1.2. New Repository
1.2.1. step 1
1.2.2. step 2
2. clone repository
2.1. git clone
2.1.1. copy url
2.1.2. paste url
On your computer!
git clone paste-url-here
sudo apt update sudo apt install git
The requested URL returned error: 502
3.1. add & commit
You can propose changes (add it to the Index) using
git add <filename> git add *
This is the first step in the basic git workflow. To actually commit these changes use
git commit -a -m "Commit message"
Now the file is committed to the HEAD, but not in your remote repository yet.
3.2. pushing changes
Your changes are now in the HEAD of your local working copy.
To send those changes to your remote repository, execute
git push origin master
Change master to whatever branch you want to push your changes to.
to update your local repository to the newest commit, execute
git pull origin
in your working directory to fetch and merge remote changes.
in its simplest form, you can study repository history using..
You can add a lot of parameters to make the log look like what you want. To see only the commits of a certain author:
git log --author=bob
To see a very compressed log where each commit is one line:
git log --pretty=oneline
Or maybe you want to see an ASCII art tree of all the branches, decorated with the names of tags and branches:
git log --graph --oneline --decorate --all
See only which files have changed:
git log --name-status
These are just a few of the possible parameters you can use. For more, see git log --help