2. TOPICS COVEREDâŚâŚ
ď˘ Using GitLab on Windows.
ď˘ Using GitLab on Linux (Clone & Push).
ď˘ Using GitLab on Linux (Add & Push).
ď˘ GitLab Resources.
ď˘ Questions.
2
Š2015
3. WELCOME TO UP GITLAB
ď˘ Web Link : https://git.campus.up.edu
3
Š2015
4. CREATING AN ACCOUNT
ď˘ Please request an account from UP GitAdmins.
GITLAB ADMIN AREA
4
Š2015
5. CREATING A NEW PROJECT
ď˘ Please click on (+) to Create a new Project.
5
Š2015
7. USING GITLAB ON WINDOWS
ď˘ Please download & install the âgithub for windowsâ
software form https://windows.github.com/
7
Š2015
8. USING GITLAB ON WINDOWS
ď˘ Drag the GitLab Project URL (HTTPS) to the
installed GitHub windows client
https://git.campus.up.edu/kumaran/TestProject.git
8
Š2015
9. USING GITLAB ON WINDOWS
ď˘ Right click on the âTestProjectâ and select âOpen In
Explorerâ.
ď˘ Create a new file in that directory.
ď˘ Then go to the windows client. Click on
âUncommitted Changesâ and enter the summery &
the description for the commit and click commit.
9
Š2015
11. USING GITLAB ON WINDOWS
ď˘ Finally Click on Publish Button to push to the
GitLab.
11
Š2015
12. USING GITLAB ON LINUX (CLONE & PUSH)
ď˘ First create the project in GitLab.
12
Š2015
13. USING GITLAB ON LINUX (CLONE & PUSH)
ď˘ Login to the Linux machine.
ď˘ Clone the GitLab repo.
git clone https://kumaran@git.campus.up.edu/kumaran/TestProject.git
ď˘ Then follow these steps to push the files /
directories to GitLab.
cd TestProject
git init
touch README.md
git add README.md
git commit âm âMy First Commitâ
git remote âv
git push -u origin master
13
Š2015
14. USING GITLAB ON LINUX (ADD & PUSH)
ď˘ First go to the folder in Linux machine you want to
push to the GitLab.
ď˘ Then follow these steps to push the files /
directories to GitLab.
git init
git add -A
git commit -m âMy First Commitâ
14
Š2015
15. USING GITLAB ON LINUX (ADD & PUSH)
ď˘ Then create a repo / project in GitLab.
git remote add origin https://kumaran@git.campus.up.edu/kumaran/TestProject.git
git remote âv
git push -u origin master
15
Š2015
16. GITLAB RESOURCES
ď˘ Try Git https://try.github.io/levels/1/challenges/1
ď˘ Git Immersion http://gitimmersion.com/index.html
ď˘ Using GitLab on Windows https://vimeo.com/121723571
ď˘ Using GitLab on Linux (Clone & Push) https://vimeo.com/121750023
ď˘ Using GitLab on Linux (Add & Push) https://vimeo.com/121750131
ď˘ Presentation : http://www.slideshare.net/heykumaran
ď˘ Videos : https://vimeo.com/heykumaran
16
Š2015
MY RESOURCES