1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Bitbucket の使い方

Last updated at Posted at 2023-09-07

リポジトリーの作成

image.png

作成されました

image.png

クローン

HTTPS を選びます。
image.png

git clone https://ekzemplaro@bitbucket.org/ekzemplaro/test1.git

実行結果

$ git clone https://ekzemplaro@bitbucket.org/ekzemplaro/test1.git
Cloning into 'test1'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), 968 bytes | 968.00 KiB/s, done.
$ git clone https://ekzemplaro@bitbucket.org/ekzemplaro/test1.git
Cloning into 'test1'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), 968 bytes | 968.00 KiB/s, done.
uchida@shimizu: sep07$ tree test1
test1
└── README.md

1 directory, 1 file

アプリパスワードの作成

リポジトリーの更新に必要です。

右上の歯車をクリック
image.png

Personal Bitbucket settings をクリック
image.png

アプリ パスワード をクリック
image.png

アプリ パスワードの作成 をクリック
image.png
書き込みをすべてチェックしておけば、間違いはありません。
作成 を クリック

パスワードが表示されます。
それを、コピーして保存して下さい。

リポジトリーの更新

クローンしたフォルダーで、変更を行います。

更新のスクリプト

go_upload.sh
git add --all
git commit -m "Commit on Sep/7/2023 AM 11:03"
git push

実行結果

$ ./go_upload.sh 
[main e0a9462] Commit on Sep/7/2023 AM 11:03
 1 file changed, 6 insertions(+)
 create mode 100755 go_upload.sh
Password for 'https://ekzemplaro@bitbucket.org':

アプリ パスワードを入れます。

Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 12 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 394 bytes | 394.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
To https://bitbucket.org/ekzemplaro/test1.git
   170e54d..e0a9462  main -> main
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?