0
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 5 years have passed since last update.

SourceTreeでgitにpushできるようにする

Posted at

できること

何にもない状態からソースツリーを使えるようになる
個人開発を想定しています。

環境

windows10
バージョン1903 (OSビルド 18362.720)

gitインストール

これの3番まで行う
https://prog-8.com/docs/git-env-win

SourceTreeインストール

これを行う
https://yttm-work.jp/git/git_0002.html

クローンする

cloneを選択

1585288586003.jpg

矢印のところに、gitのHTTPSのpathを入力

1585288612251.jpg

1585289160541.jpg

保存先のディレクトリ名はリポジトリと同じ名前じゃないとダメっぽい?
gitのリポジトリをprivateにしている場合はgitHubアカウントでログインを求められる

鍵登録

これを行う
https://qiita.com/reflet/items/4f7b5c4a312bc27df10e

push

保存したいファイルを先ほどの”保存先のパス”のディレクトリにコピーする
ステージングのところにファイルが表示されるので、選択してコミット、pushすれば完了!

0
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
0
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?