Submit Search
Upload
basic operation about git
•
0 likes
•
646 views
Shota Todoroki
Follow
introduction of sourceTree basic operation of git
Read less
Read more
Technology
Report
Share
Report
Share
1 of 60
Download now
Download to read offline
Recommended
Gmail奥義皆伝!
Gmail奥義皆伝!
Yusuke Amano
WordCamp Kyoto 2009 LT Slide
WordCamp Kyoto 2009 LT Slide
tecking
Gmailで働き方改革
Gmailで働き方改革
Masayoshi Yanase
Googleツールを使いこなして世界中の仲間と楽しく仕事を進めよう【初心者向け】
Googleツールを使いこなして世界中の仲間と楽しく仕事を進めよう【初心者向け】
Shinsuke Yashima
ノンプログラマでも今日から使える「Git」でバージョン管理
ノンプログラマでも今日から使える「Git」でバージョン管理
H2O Space. Co., Ltd.
明日から使えるコーディングツール
明日から使えるコーディングツール
Tomokazu Kiyohara
LinuxをインストールしてWebサーバーを立ち上げてみよう
LinuxをインストールしてWebサーバーを立ち上げてみよう
Masataka Tsukamoto
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2017 Tokyo/Fall】
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2017 Tokyo/Fall】
Masataka Tsukamoto
Recommended
Gmail奥義皆伝!
Gmail奥義皆伝!
Yusuke Amano
WordCamp Kyoto 2009 LT Slide
WordCamp Kyoto 2009 LT Slide
tecking
Gmailで働き方改革
Gmailで働き方改革
Masayoshi Yanase
Googleツールを使いこなして世界中の仲間と楽しく仕事を進めよう【初心者向け】
Googleツールを使いこなして世界中の仲間と楽しく仕事を進めよう【初心者向け】
Shinsuke Yashima
ノンプログラマでも今日から使える「Git」でバージョン管理
ノンプログラマでも今日から使える「Git」でバージョン管理
H2O Space. Co., Ltd.
明日から使えるコーディングツール
明日から使えるコーディングツール
Tomokazu Kiyohara
LinuxをインストールしてWebサーバーを立ち上げてみよう
LinuxをインストールしてWebサーバーを立ち上げてみよう
Masataka Tsukamoto
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2017 Tokyo/Fall】
LinuxをインストールしてWebサーバーを立ち上げてみよう【OSC2017 Tokyo/Fall】
Masataka Tsukamoto
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
Hiroki Ichikura
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
UEHARA, Tetsutaro
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
akihisamiyanaga1
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
iPride Co., Ltd.
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
FumieNakayama
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
FumieNakayama
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
sugiuralab
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
博三 太田
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
Yuki Kikuchi
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
More Related Content
Recently uploaded
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
Hiroki Ichikura
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
UEHARA, Tetsutaro
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
akihisamiyanaga1
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
iPride Co., Ltd.
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
FumieNakayama
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
FumieNakayama
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
sugiuralab
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
博三 太田
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
Yuki Kikuchi
Recently uploaded
(9)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
デジタル・フォレンジックの最新動向(2024年4月27日情洛会総会特別講演スライド)
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
CTO, VPoE, テックリードなどリーダーポジションに登用したくなるのはどんな人材か?
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
AWS の OpenShift サービス (ROSA) を使った OpenShift Virtualizationの始め方.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
クラウドネイティブなサーバー仮想化基盤 - OpenShift Virtualization.pdf
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
モーダル間の変換後の一致性とジャンル表を用いた解釈可能性の考察 ~Text-to-MusicとText-To-ImageかつImage-to-Music...
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
自分史上一番早い2024振り返り〜コロナ後、仕事は通常ペースに戻ったか〜 by IoT fullstack engineer
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
basic operation about git
1.
•sourceTreeのインストール •git • リモートリポジトリ作成 • ローカルリポジトリ作成 •
add, commit, push
2.
SourceTreeのインストール • https://www.sourcetreeapp.com/ よりダウンロード クリックしてDL
3.
• ダウンロードされたファイルを実行してインストール クリックしてインストール開始
4.
• セットアップウィザードが開始
5.
• インストール先を選択
6.
• インストールの準備完了
7.
• セットアップ終了
8.
Source Treeの初期設定 • 最初に起動するとこんな感じ •
「ライセンスに同意してね」とのこと
9.
• gitなどのインストールがはじまる • グローバル設定ファイルを作るかどうか尋ねられる
10.
• アカウントの有無を尋ねられる • SSHキーの設定について尋ねられる
11.
以上で初期設定おわり
12.
Source Treeを起動 • 最初に起動するとこんな感じ
13.
初期設定 • gitにおけるユーザー名とメールアドレスを登録 • ツール
→ オプション
14.
• ユーザー名とメールアドレスを設定 • これらがコミット時に個人を識別するユーザー名になる ユーザー名 メールアドレス を入力
15.
• 入力例 example@example.co.jp user_name
16.
はじめてのclone • 「新規/クローンを作成する」をクリック クリック
17.
• リポジトリをクローンしてみましょう
18.
リポジトリURL を入力 • リポジトリのURLを入力
19.
• ローカルでの保存先を設定 保存先のパスを入力 ここを押せば GUI操作可能 https://github.com/user_name/repository.git repository repository
20.
• 一通り設定ができたのでクローンしましょう クリック https://github.com/user_name/repository.git repository repository
21.
• クローン成功!
22.
ここをクリックすると、 コミット履歴が見れます
23.
• 上に行くほど最近のコミット example@example.co.jp>
24.
GitBucketからcloneするときの注意点 • cloneするときにはリポジトリのURLを入力 • このとき ○
HTTP clone URLをコピー × ブラウザのURLをコピー こっちだとダメ (Basic認証とGitの認証が衝突) githubならOK ここをコピー (ボタンをクリックすれば クリップボードに保存される) https://github.com/user_name/repository.git
25.
新規リポジトリをつくってみよう • リモートリポジトリの作成 • ローカルリポジトリの作成
26.
• ログイン ユーザー名とパスワードを入力して Sign in 26 リモートリポジトリを作成
27.
• ログイン後 ユーザページに移動 27 リモートリポジトリを作成
28.
• リポジトリ作成 (1/3) New
Repository ボタンをクリック 28 リモートリポジトリを作成
29.
• リポジトリ作成 (2/3) リポジトリ名、公開・非公開設定を入力 Create
repositoryボタンをクリック 29 リモートリポジトリを作成
30.
• リポジトリ作成 (3/3) リモートリポジトリ完成! 30 リモートリポジトリを作成
31.
ローカルリポジトリを作成 クリック
32.
クリック
33.
この例では ¥C:¥git¥git-zemi • データの保存先を決める
34.
• 空のローカルリポジトリができました
35.
作成したローカルリポジトリとリモートリポジトリを 紐づけましょう
36.
リモートリポジトリを登録 • リポジトリ->リポジトリ設定をクリック
37.
クリック
38.
• デフォルトリモートにチェックを入れ、 先ほど作成したリポジトリURLを入力 https://github.com/user_name/repository.git チェック
39.
• リモートの登録できました https://github.com/user_name/repository.git
40.
準備完了! では、commit・pushしてみましょう
41.
• ファイル追加 • ファイル「README.md」を作成 •
README.mdとは • そのリポジトリのトップページに表示される説明用ファイル • 書き方は、マークダウン方式に従う
42.
• README.mdに適当に何か書いて保存 • 【注意】日本語を使う場合、UTF-8エンコーディングして保存 •
文字化けします • メモ帳ではなく、Sublimeなどのエディタを使いましょう
43.
• git add クリックして更新
44.
• 何やら画面が変わりました
45.
こちらが ステージングエリア こちらが ワーキングツリー
46.
• ワーキングエリアにあるREADME.mdをクリックして選択 (addしたいものを選択)
47.
• 画面上部の「追加ボタン」をクリック クリック README.mdの左側のところにチェック入れてもOK
48.
• ステージングエリアにREADME.mdが追加されました!
49.
• README.mdをcommitする準備が整ったのでcommitします
50.
• 画面上部の「コミットボタン」をクリック クリック
51.
• メッセージを書きましょう(日本語でも英語でも可) クリックして commit
52.
• コミット成功!
53.
• 今のcommitを確認してみましょう クリック
54.
• 先程のcommitが確認できますね!
55.
それでは、 リモート(GitBucket)に今のcommitをpushしましょう
56.
git push • 画面上部の「プッシュボタン」をクリック クリック
57.
• pushしたい対象ブランチをチェック チェック クリック
58.
• pushがはじまりました
59.
• 認証を通してください ...GitBucketのアカウントです
60.
• リモートのmasterというブランチに ローカルのmasterブランチがpushされました
Download now