LoginSignup
10
10

More than 5 years have passed since last update.

1年に1回ぐらい必要になるgitのコマンドメモ

Last updated at Posted at 2016-04-01

たまーに必要になって、毎回検索していたコマンドのメモです。

無視されているファイルを強制的に追加する

git add -f hoge.swift

無視されているファイルの一覧を表示

git status --ignored

リポジトリの先頭からrebase

git rebase -i --root

remoteのアドレスを確認

$ git remote -v

情報元

【Git】無視されているファイルを強制的に追加する - Qiita
http://qiita.com/hirofumiymmto/items/fe7227652e989ca50c11

First commit が git rebase -i できない問題 → git rebase -i --root でできる - 納豆には卵を入れる派です。
http://d.hatena.ne.jp/ken_c_lo/20130421/1366558065

[git] リモートリポジトリの URL を確認する方法 - Qiita
http://qiita.com/phi/items/113f88cc87fe465bdcfe

10
10
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
10
10