GitLab
Working on GitLab by mirroring open source model
Clone open source model to GitLab Taking an ocean model ROMS as an example, let's consider the best practice of operating the ROMS repositories by cloning (not forking) the original ROMS repository to GitLab, where the mirroring is set to automatically import the update of the original repository. Please refer to this article for the settings up to this point. I will create and operate my own devel branch to avoid changing the repository cloned from the original repository on GitLab. Now the remote repository is GitLab cloning (mirroring) the original ROMS repository; local repository is operated using GitBash on Windows 10 Pro and Git on Supercomputer ITO. Final workflow […]
Setup GitLab using Git for Windows
Register GitLab Firstly, register GitLab and create a project. No contents are required at this moment as this project will be cloned to Windows directory. Install Git for Windows Download Git for Windows from this site and install it. Default settings are recommended except Adjusting your PATH environment where Use Git from Git Bash only is recommended to choose for safety. Initial setting for Git Open Git Bash and set as follows. Here, Hidemaru Editor is chosen. user.name and user.email should be those registered in GitLab. Quotation marks are also required. $ git config --global core.editor \'/C/Program Files (x86)/Hidemaru/Hidemaru.exe\' //fu8 $ git config --global user.name Your Name $ git config […]