LoginSignup
0
0

More than 5 years have passed since last update.

SmartGit > Visual Studioの新規プロジェクト(WPFアプリ)作成からpushするまで

Last updated at Posted at 2017-12-05
動作環境
Windows 8.1 Pro (64bit)
Microsoft Visual Studio 2017 Community
SmartGit v17.1.2 #11190
Sublime Text 2

SmartGitでVisual Studioのプロジェクトを管理する。
新規プロジェクト作成からの手順について記載する。

手順

  1. Gitリポジトリをサービス上で作成
    • bitbucketやGitHubなど
  2. Visual Studioで新規プロジェクトを作成
    • WPF アプリ(.NET Framework)
    • 「新しいGitリポジトリの作成」にチェックを入れておく
  3. SmartGitにてリポジトリを追加
    • Repository > Add or Create...
    • 手順2で作成したプロジェクトのフォルダを選択
  4. SmartGitにてリモート設定
    • Remote > Add
    • URL or PathにGitリポジトリのURIを入力する
    • Name: origin
  5. SmartGitにてPushする

備考

手順2で作ったGitリポジトリにより、以下の2つの日本語コミットが生成される(日本語OSにて)。

  • .gitignoreおよび.gitattributesを追加します。
  • プロジェクトファイルを追加します。

Visual Studioのチームエクスプローラでリモート設定することも可能だが、SmartGitで他の言語のリポジトリも扱っているので、SmartGit上での方法を使う。

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