|
|
| (同じ利用者による、間の17版が非表示) |
| 行1: |
行1: |
| − | ==bitbucketとは==
| + | [[git/bitbucket/基本]] |
| − | プライベートなgitが無料で無制限に使えるサービス
| + | |
| | | | |
| − | ==リポジトリ作成==
| + | [[git/bitbucket/プルリク]] |
| − | グローバルヘッダー/リポジトリ/リポジトリの作成/リポジトリ名入力
| + | |
| | | | |
| − | ==bitbucketに公開鍵を追加する==
| + | [[git/bitbucket/デフォルトブランチ切替]] |
| − | #グローバルヘッダー/右上の個人設定/bitbucket_setting/sshキー/鍵を追加
| + | |
| − | #接続元pcの公開鍵の文字列を"キー"部分に入れる
| + | |
| − | vi ~/.ssh/id_rsa.pub
| + | |
| − | | + | |
| − | ==接続テスト==
| + | |
| − | $ ssh -T git@bitbucket.org
| + | |
| − | logged in as [ユーザ名]
| + | |
| − | You can use git or hg to connect to Bitbucket. Shell access is disabled.
| + | |
| − | # 上記2行が出れば接続されている
| + | |
| − | | + | |
| − | ==プロジェクト作成とpush==
| + | |
| − | cd project1
| + | |
| − | git init
| + | |
| − | git remote add origin ssh://git@bitbucket.org/[ユーザ名]/project1.git
| + | |
| − | git add readme.txt
| + | |
| − | git commit -m "first commit"
| + | |
| − | git push origin master
| + | |
| − | | + | |
| − | ==参考==
| + | |
| − | http://www.task-notes.com/entry/20150210/1423537200
| + | |
2024年8月25日 (日) 05:48時点における最新版
git/bitbucket/基本
git/bitbucket/プルリク
git/bitbucket/デフォルトブランチ切替