I午前GTOはSVNはそう私の質問は、ということであるディレクトリ構造 gitのブランチとマージ
私はmkdir git_repo
cd git_repo
git init --bare
cd ../
git clone git_repo new_clone
cd new_clone
touch test.txt
git add test.txt
git commit test.txt
git push origin master
//So now the contents are in git_repo
git branch new_branch
git branch
/*master
*new_branch is the output */
git checkout new_branch
//Switched to branch 'new'
とgitの主なレポを作成を取得しようと取り組んできましたgit.Iに支店を理解トライン
1.How枝
からnew_repoするファイルをプッシュする2.howをnew_cloneするためにスイッチバックします
私はこのケースで
6をマージ使用するのです
5.Whenをgit_repoするファイルをプッシュすることができ4.How 3.How iはnew_branchとnew_clone
beteenファイルに差分を見ることができます。new_branchとnew_cloneのファイルを別々に一覧表示するには
いずれか1つを例で説明してください。
おかげ..
1.switch iはnew_cloneから変更を作りたいと思っていることを意味していない変更を行う支店2.howからレポしますブランチで、その後、あなたが好きな枝の上に自分を置くこと – Rajeev
@Rajeev使用 'Gitのcheckout'をnew_cloneするプッシュします。 – Borealid