<
От версии < 2.24 >
отредактировано Alexandr Fokin
на 2021/08/15 18:43
К версии < 2.31 >
отредактировано Alexandr Fokin
на 2022/02/13 23:32
>
Изменить комментарий: Удаленный объект

Комментарий

Подробности

XWiki.XWikiComments[0]
Автор
... ... @@ -1,1 +1,0 @@
1 -XWiki.cccc1808
Комментарий
... ... @@ -1,4 +1,0 @@
1 -Переместить файл или папку с сохранением истории изменений
2 -{{code language="cmd"}}
3 -git mv <SrcFileOrDirectoryName> <DestinationDirectoryName>
4 -{{/code}}
Дата
... ... @@ -1,1 +1,0 @@
1 -2020-06-28 19:20:32.877
XWiki.XWikiComments[1]
Комментарий
... ... @@ -1,4 +1,4 @@
1 -Обновить список удаленных веток
1 +Обновить список удаленных веток (RepositoryAlias по умолчанию: origin)
2 2  {{code language="cmd"}}
3 -git remote update origin --prune
3 +git remote update <RepositoryAlias> --prune
4 4  {{/code}}
XWiki.XWikiComments[4]
Комментарий
... ... @@ -1,5 +1,14 @@
1 -Загрузить одну определенную ветку в определенный репозиторий (в том числе в пустой)
1 +Загрузить ветку
2 +How to download a branch with git?
3 +https://stackoverflow.com/questions/2294313/how-to-download-a-branch-with-git
4 +
2 2  {{code language="cmd"}}
6 +git branch --track <LocalBranchName> origin/<RemoteBranchName>
7 +git checkout <LocalBranchName>
8 +{{/code}}
9 +
10 +Отправить одну определенную ветку в определенный репозиторий (в том числе в пустой)
11 +{{code language="cmd"}}
3 3  git remote add <RepositoryAlias> <RepositoryUrl>
4 4  git checkout <LocalBranchName>
5 5  git push -u <RepositoryAlias> <LocalBranchName>:<RemoteBranchName>
XWiki.XWikiComments[5]
Автор
... ... @@ -1,0 +1,1 @@
1 +XWiki.cccc1808
Комментарий
... ... @@ -1,0 +1,3 @@
1 +Git refusing to merge unrelated histories on rebase
2 +https://stackoverflow.com/questions/37937984/git-refusing-to-merge-unrelated-histories-on-rebase
3 +
Дата
... ... @@ -1,0 +1,1 @@
1 +2021-08-17 11:54:07.0