git†
git command 組合1†
git clone https://xxxx/aa.git
git checkout -b bbranch
...Edit files...
git add filename
git commit -m "edit/add cc.file"
git push origin bbranch
git command 組合2†
git clone -b bbranch https://repo.xxxx/aa.git
git branch
...Edit files...
git add .
git commit -m "edit/add cc files"
git push
再編集の場合†
git add .
git commit --ament
git push --force
組み込みに適した Git ライブラリ OSS†
| ライブラリ名 | 言語 | 特徴 |
| libgit2 | C | Git の機能を低レベルで操作できる高速ライブラリ。多くの言語バインディングあり(Python, Ruby, Goなど) |
| JGit | Java | Java製アプリに最適。Gitの機能を純粋なJavaで実装しており、Gitコマンド不要 |
| go-git | Go | Gitの機能をGo言語で完全に再実装。サーバー・クライアント両方に使える |
| dulwich | Python | Python製の軽量Gitライブラリ。Gitコマンドに依存せず、組み込みに向いている |
| isomorphic-git | JavaScript | ブラウザやNode.jsで動作するGitライブラリ。WebベースのGitクライアントに最適 |