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?

[Git] Git関連記事のまとめページ

Last updated at Posted at 2023-04-28

多数投稿してきたGit関連記事のまとめページを作りました。
(導入方法編2件、Gitコマンド実行例編61例、GitHub連携編3件)

導入方法 編

一からGitの環境を導入してGitHubにpushするまでの手順 (23年03月, v2.40.0版, Windows上)

Colab上でGitの環境を導入してGitHubにpushするまでの手順 (23年03月時点)

動作を試す 一連のGitコマンド実行例 編

上記のGitコマンド実行例の各記事で使用する主要なコマンドの一覧

GitHub連携 編

アクセス情報をURLに埋め込んでGitHubにアクセス (Passwordの入力は不要)

git fetchで読み込んだリモートブランチの履歴を、ローカルリポジトリから消して読込前の状態になるべく戻す方法 (originへの接続を一旦消す)

ローカルリポジトリの(古い長い)過去履歴を削除する (git fetch --depthで短く取得してgit gcで削除)

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?