LoginSignup
0
0

More than 5 years have passed since last update.

Git 1合目(windows)

Last updated at Posted at 2016-04-22

目次

  1. windowsの設定(win7)
  2. コマンドメモ

1. Windowsでの設定まとめ

⇒sourcetreeでgitの操作 & bakclogのgitリポジトリを使用して課題と連携させる

参考:
■サルでもわかるGit入門
http://www.backlog.jp/git-guide/

1-1 ツールのインストール

1-2 windowsの設定(win7)

パスを繋げる
参考:
http://next.matrix.jp/config-path-win7.html

システム環境変数:
⇒Path
C:\Program Files\TortoiseGit\bin;C:\Program Files\Git\bin;

1-3 sourcetreeでbacklogのブランチをクローンする

SSH接続したいので、事前にputtyの鍵登録をしておく。

1.puttyのインストール

2.鍵をつくる

3.公開鍵をbacklogに登録。

4.SSHリポジトリをGitページから取得して、sourcetreeにてクローン。

5.コミットメッセージに課題IDを入れることで課題に紐づけられる。

2. コマンドメモ

git branch

git checkout -b ブランチ名

git status
git log

git add .
git commit -am "コメント"

git push origin ブランチ名

git pull origin ブランチ名

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