Changes

Jump to navigation Jump to search
203 bytes added ,  10:45, 15 September 2020
push all the things! ;)
{{Project
|name = Gitlab
|image =
|status = stable
|description = Version Control tool
|author =
|maintainer = Madmaurice
|url = https://git.zom.bi
|location =
|authentication=LDAP
}}
 
Git is a version control tool for source code and text files.
We use it for working on projects together.
* [http://git-scm.com/book Official Git-Book]
* [http://git-scm.com/docs/gittutorial Tutorial]
* [https://gitgitea.zom.bi/ Our GitlabGitea]
== Commiting on the docker-host ==
use the compact alias <code>git ''username''-commit</code> to commit with your user information.
revert the whole repository to the status of the last commit.
git reset --hard
 
== Migrate a project from GitLab to Gitea ==
 
Create your project on [[/Gitea|Gitea]] here: https://gitea.zom.bi/repo/create
 
# Clone using the --mirror flag (It will clone all branches into a bare repo)
git clone --mirror https://git.zom.bi/username/project.git
# Add new remote
git remote add gitea "https://gitea.zom.bi/username/project.git"
# Push to Gitea
git push -u gitea --all
git push -u gitea --tags
[[Category:Documentation]]

Navigation menu