git command2025/07/03 05:00

追跡していないファイルの表示

git clean -n

追跡していないファイルの削除

git clean -f

reflog の削除

git reflog expire -all --expire=now

到達不能リビジョンの削除

git prune

  • dry-run も出来る。

git rebase --onto の動作解説

https://gist.github.com/hkuno9000/398fc4000655e7b6617fd76733b5fa94

totise git で clone 失敗2025/06/07 18:59

Windows の便利機能のせいでした。

Windows 10のTortoiseGitにて、ログイン失敗問題各種と解決方法

https://qooga.jb-jk.net/wp/tortoisegit-login-issue-on-windows-10/

Githubの認証をパスワードから Personal Access Token に切り替える

https://qiita.com/sin9270/items/aaebfa66865280d6c3d7

git パスワードを毎回聞かれる問題をHTTPSでも解決

https://qiita.com/Kamo123/items/c92b03278b6302c641e3

Linux 用 Windows サブシステムでの Git の使用を開始する(MSDN)

https://learn.microsoft.com/ja-jp/windows/wsl/tutorials/wsl-git

Git switch2025/01/01 14:14

git checkout と git switch それぞれの使い方を比較する

https://envader.plus/article/300

Git コマンド 22024/12/29 22:41

ステージされている変更/されていない変更の閲覧 "git diff"

https://qiita.com/yuyas7/items/68b020ccd7e05026e415

gitコマンドの使い方 ~ git checkout ~

https://snowsystem.net/git/git-command/git-checkout/

【停止中】Gitを理解するためにProGitを読んでみた

https://qiita.com/yuyas7/items/cafc6ff737b20e33e4d0

Gitを使ってやらかした時、git reflogさえ使えればわりかしなんとかなる

https://qiita.com/getty104/items/cfd98f5f0ea89ef07bf0

Gitトラブルシューティング

https://kaityo256.github.io/github/advanced/index.html

gitで日本語のファイルを扱うときに数字コードが表示される

https://qiita.com/KTakata/items/44d639b50f61d869a03b

Git reset2024/06/27 05:53

[git reset (--hard/--soft)]ワーキングツリー、インデックス、HEADを使いこなす方法

https://qiita.com/shuntaro_tamura/items/db1aef9cf9d78db50ffe