Я делаю некоторый пример теста с git, прежде чем я добавлю свои реальные данные.
Вот что я делаю:
enter code here
1) Create an empty git repository
$ mkdir git_trial2
$ cd git_trial2
$ git init (Creates a .git directory inside this)
$ cg-branch-add branch1 (Create a branch1 inside this git)
$ touch File1
$ echo "This is a test" >> File1
Теперь я хочу добавить File1 в branch1.Как это сделать?