Git command – Forum – Mas AL Forum

BLOG IT SYSADMIN

Daftar akun digitalocean untuk mendapatkan free credit 100$.
DigitalOcean Referral Badge
Git command
 
Notifications
Clear all

Git command

1 Post
1 Pengguna
0 Reactions
115 Dilihat
Iyang
Post: 8
Topic starter
(@iyang)
Eminent Member
Joined: 4 tahun lalu
  • Cara clone repo dengan spesifik branch:
git clone --branch branch_name  https://url-repo 
  • Cara push project ke repo lain
git init
git add .
git commit -m "Push existing project to GitLab"
git remote add source  https://new-url-repo 
git push -u -f source new_branch_name

  • cara pull repo
git pull origin branch_name
  • cara mengecek pembaruan data
git fetch

 

Tag
Share: