Cara setup Gitlab


TUTORIAL 2021 *NEW VERSION GITLAB

To ease developer to do git things, We need to generate access key for our machine. For the security reason, just the linked key machine can access git through SSH.

How to generate SSH for your machine ID



1) Go to User Settings > SSH Keys




2) Refer picture above. To generate keygen, we need to open command prompt and type... 

    ssh-keygen -t ED25519SSH -C "your email address"

3) Enter the directory we want to save the publish key and enter the password.

4) Go to the directory where we save the publish key. Open the file using text editor (Notepad, VS Code)



5) Open using text editor and copy all the key.



6) Enter the key on Gitlab setting



7) Done




TUTORIAL 2020

1) Generate SSH

    a) Buka terminal, taip ; ED25519 SSH

        ssh-keygen -t ed25519 -C "email@gmail.com"


    b) taipkan password

    c) Buka gitBash

        cat ~/.ssh/id_ed25519.pub | clip


    d) Add SSH key to gitlab account

        Setting > SSH Keys > paste SSH key


2) Manage repo

  • git clone (clone with SSH)
  • git add *
  • git commit -m "commit message"
  • git commit -a
  • git branch               *master    [check branch]
  • git checkout *nama branch*               [tambah branch]
  • git push origin develop / git push origin master

Ulasan

Catatan popular daripada blog ini

SISTEM PENGOPERASIAN KOMPUTER (OS)

APA ITU ASCII (AMERICAN STANDARD CODE FOR INFORMATION INTERCHANGE) ?

APA ITU EBCDIC (EXTANDENT BINARY CODEC DECIMAL INTERCHANGE CODE) ?

JENIS-JENIS SISTEM PENGOPERASIAN KOMPUTER

Router CP2001/RS980+ dan Cara config