mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-30 09:44:26 +02:00
translate remote/sourceNothing.js into japanese
This commit is contained in:
parent
2abf4f0783
commit
4a4f1b6f7d
1 changed files with 57 additions and 0 deletions
|
@ -519,6 +519,63 @@ exports.level = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ja": {
|
||||||
|
"childViews": [
|
||||||
|
{
|
||||||
|
"type": "ModalAlert",
|
||||||
|
"options": {
|
||||||
|
"markdowns": [
|
||||||
|
"### `<source>`の変わり種",
|
||||||
|
"",
|
||||||
|
"Gitは`git push`や`git fetch`の引数としてsourceに何も指定しないことで悪用することができます。",
|
||||||
|
"",
|
||||||
|
"何も指定しない方法は次のようにsourceに空の引数を渡すことです。",
|
||||||
|
"",
|
||||||
|
"* `git push origin :side`",
|
||||||
|
"* `git fetch origin :bugFix`",
|
||||||
|
"",
|
||||||
|
"こうするとどうなるでしょうか..."
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "GitDemonstrationView",
|
||||||
|
"options": {
|
||||||
|
"beforeMarkdowns": [
|
||||||
|
"リモートブランチに「無」をpushするとどうなるでしょうか?",
|
||||||
|
"",
|
||||||
|
"結果はそのブランチが削除されてしまいます!"
|
||||||
|
],
|
||||||
|
"afterMarkdowns": [
|
||||||
|
"「無」という概念をブランチに押し付けることで、リモートの`foo`ブランチを削除することに成功しました。"
|
||||||
|
],
|
||||||
|
"command": "git push origin :foo",
|
||||||
|
"beforeCommand": "git clone; git push origin main:foo"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "GitDemonstrationView",
|
||||||
|
"options": {
|
||||||
|
"beforeMarkdowns": [
|
||||||
|
"最後に「無」をローカル上に`fetch`すると、実際に新しいブランチが作られます。"
|
||||||
|
],
|
||||||
|
"afterMarkdowns": [
|
||||||
|
"非常に奇妙ですが、気にする程のことでもありません。"
|
||||||
|
],
|
||||||
|
"command": "git fetch origin :bar",
|
||||||
|
"beforeCommand": "git clone"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ModalAlert",
|
||||||
|
"options": {
|
||||||
|
"markdowns": [
|
||||||
|
"このレベルは難しくありません!リモートのブランチを削除して`git fetch`で新しいブランチを作成するだけで完了します。"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"ru_RU": {
|
"ru_RU": {
|
||||||
"childViews": [
|
"childViews": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue