Rabu, 06 Mei 2020

Fungsi gitlab github

gunakan terminal dan gunakan sintak ini :
- echo .DS_Store >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global

staging sudah direplace, untuk yang punya reponya di lokal, tolong jalankan command
1. git fetch --all
2. git checkout staging
3. git reset --hard origin/staging

- Jika error gitlab :

    fatal: unable to access 'https://gitlab.com/iwr/hehe.git/': Peer's Certificate issuer is not recognized.

    git config --global http.sslVerify "false"



- jika muncul error saat push :

git pull origin dev

From https://gitlab.com/xxx

 * branch              dev        -> FETCH_HEAD

fatal: Not possible to fast-forward, aborting.

gunakan console dibawah, pastikan update code telah di commit dan backup biar aman

git pull origin develop --rebase

Tidak ada komentar:

Posting Komentar