タグ

2022年1月30日のブックマーク (2件)

  • git clean | Atlassian Git Tutorial

    このセクションでは、git clean コマンドについて詳しく取り上げます。git clean はある程度「元に戻す」コマンドと似ています。git clean は git reset や git checkout など他のコマンドに足りない部分を補完するものだと考えることができます。これらその他のコマンドでは、以前 Git トラッキング・インデックスに追加されたファイルを操作しますが、git clean コマンドは追跡対象外ファイルを操作します。追跡対象外ファイルとはリポジトリの作業ディレクトリ内で作成されたものの、git add コマンドを使ってリポジトリのトラッキング・インデックスにまだ追加されていないファイルのことです。 $ mkdir git_clean_test $ cd git_clean_test/ $ git init . Initialized empty Git rep

    Itisango
    Itisango 2022/01/30
    -git clean/-n, --dry-run/-d Normally, when no <path> is specified, git clean will not recurse into untracked directories to avoid removing too much. Specify -d to have it recurse into such directories as well.
  • Automake error './ltmain.sh' not found

    I've installed mingw and msys by using mingw-get-setup.exe. I've also installed Autotools(autoconf, automake,m4,libtool) into C:\/opt/autotools. When I run automake, the following error always occurs: configure.ac:11: error: required file './ltmain.sh' not found If I copy ltmain.sh from libtool’s installed tree, execution will finish normally. How can I configuure automake to find ltmain.sh withou

    Automake error './ltmain.sh' not found
    Itisango
    Itisango 2022/01/30
    Just invoke autoreconf -i and it'll run the tools that are needed. Add -v if you want to see what tools is being executed. To avoid mistakes, just put a script like this at the root of your project: