Beranda > vcs > upload local repository into remote repository (bitbucket.org) with git for the first time

upload local repository into remote repository (bitbucket.org) with git for the first time

1. create repository name, then see https address
2. do this -> “git init, git remote add origin https://arief_ugi@bitbucket.org/arief_ugi/yourownreponame.git” –> must same with remote repository
this origin url also created in config file find [remote “origin”] url = https://arief_ugi@bitbucket.org/arief_ugi/yourownreponame.git
3. do this -> “git clone https://arief_ugi@bitbucket.org/arief_ugi/yourownreponame.git” -> git will tell you that you are cloning an empty repository
4. do this -> “git push -u origin master”
5. go to your bitbucket yourownname repository in your browser and click the commits item on the menu bar

note :

– you must ensured all files are staged and commit into local repository

Kategori:vcs Tag:,
  1. Belum ada komentar.
  1. No trackbacks yet.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: