mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-29 07:04:48 +02:00
merge main
This commit is contained in:
commit
8bb299637d
7 changed files with 60 additions and 12 deletions
|
@ -41,7 +41,7 @@
|
|||
"flux": "^3.1.3",
|
||||
"jquery": "^3.4.0",
|
||||
"jquery-ui": "^1.13.0",
|
||||
"marked": "^4.0.10",
|
||||
"marked": "^4.0.12",
|
||||
"prop-types": "^15.7.2",
|
||||
"q": "^1.5.1",
|
||||
"raphael": "^2.1.0",
|
||||
|
|
|
@ -31,7 +31,7 @@ var toGlobalize = {
|
|||
Sandbox: require('../sandbox/'),
|
||||
SandboxCommands: require('../sandbox/commands'),
|
||||
GitDemonstrationView: require('../views/gitDemonstrationView'),
|
||||
Markdown: require('marked'),
|
||||
Markdown: require('marked').marked,
|
||||
LevelDropdownView: require('../views/levelDropdownView'),
|
||||
BuilderViews: require('../views/builderViews'),
|
||||
Util: require('../util/index'),
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var _ = require('underscore');
|
||||
var Q = require('q');
|
||||
var marked = require('marked');
|
||||
var { marked } = require('marked');
|
||||
|
||||
var Views = require('../views');
|
||||
var throttle = require('../util/throttle');
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var _ = require('underscore');
|
||||
var Q = require('q');
|
||||
var Backbone = require('backbone');
|
||||
var marked = require('marked');
|
||||
var { marked } = require('marked');
|
||||
|
||||
var util = require('../util');
|
||||
var intl = require('../intl');
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
var _ = require('underscore');
|
||||
var Q = require('q');
|
||||
var Backbone = require('backbone');
|
||||
var marked = require('marked');
|
||||
var { marked } = require('marked');
|
||||
|
||||
var Main = require('../app');
|
||||
var intl = require('../intl');
|
||||
|
|
|
@ -16,7 +16,8 @@ exports.level = {
|
|||
"sl_SI": "Naredi feature branch iz lokalnega masterja preden ga ponastaviš, da bo enak kot origin main.",
|
||||
"es_AR": "Crea la rama feature desde la rama main en local antes de restablecerlo para que sea el mismo que la rama main de origen.",
|
||||
"ja": "mainブランチをoriginのmainと同じ状態になるようにリセットする前に、ローカルのmainからfeatureブランチを作成します。",
|
||||
"pl": "Stwórz boczną gałąź tematyczną (feature) z lokalnego main, a późnej zsynchronizuj ją z main na origin"
|
||||
"pl": "Stwórz boczną gałąź tematyczną (feature) z lokalnego main, a późnej zsynchronizuj ją z main na origin",
|
||||
"vi": "Tạo những nhánh tính năng từ nhánh địa phương trước khi trả chúng về lại giống như o/main"
|
||||
},
|
||||
"name": {
|
||||
"en_US": "Locked Main",
|
||||
|
@ -32,7 +33,8 @@ exports.level = {
|
|||
"sl_SI": "Zaklenjen Main",
|
||||
"es_AR": "Main bloqueado",
|
||||
"ja": "ロックされたmain",
|
||||
"pl": "Zablokowany main"
|
||||
"pl": "Zablokowany main",
|
||||
"vi": "Nhánh chính bị khóa (Locked Main)"
|
||||
},
|
||||
"startDialog": {
|
||||
"en_US": {
|
||||
|
@ -567,6 +569,7 @@ exports.level = {
|
|||
]
|
||||
},
|
||||
"pl": {
|
||||
|
||||
"childViews": [
|
||||
{
|
||||
"type": "ModalAlert",
|
||||
|
@ -605,6 +608,51 @@ exports.level = {
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"vi": {
|
||||
"childViews": [
|
||||
{
|
||||
"type": "ModalAlert",
|
||||
"options": {
|
||||
"markdowns": [
|
||||
"## Kết nối remote bị từ chối!",
|
||||
"",
|
||||
"Nếu bạn làm việc trong một nhóm cộng tác lớn, có khả năng nhánh main bị khóa và yêu cầu một số quy" +
|
||||
" trình Pull Request để hợp nhất các thay đổi. Nếu bạn commit trực tiếp với nhánh địa phương và thử" +
|
||||
" push, bạn sẽ được chào đón bằng một thông báo tương tự như sau:",
|
||||
"",
|
||||
"```",
|
||||
" ! [remote rejected] main -> main (TF402455: Pushes to this branch are not permitted; you must use a pull request to update this branch.)",
|
||||
"```"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ModalAlert",
|
||||
"options": {
|
||||
"markdowns": [
|
||||
"## Why was it rejected?",
|
||||
"",
|
||||
"Remote từ chối push các commit trực tiếp đến main vì chính sách của main yêu cầu các pull" +
|
||||
" request được sử dụng thay thế.",
|
||||
"",
|
||||
"You meant to follow the process creating a branch then pushing that branch and doing a pull request, but you forgot and committed directly to main. Now you are stuck and cannot push your changes."
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "ModalAlert",
|
||||
"options": {
|
||||
"markdowns": [
|
||||
"## The solution",
|
||||
"",
|
||||
"Tạo một nhánh khác được gọi là feature và push nhánh đó đến remote. Đồng thời đặt lại nhánh main" +
|
||||
" của bạn để đồng bộ với remote, nếu không bạn có thể gặp sự cố vào lần tiếp theo khi bạn thực hiện" +
|
||||
" pull và commit của người khác xung đột với bạn."
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
}
|
||||
};
|
||||
|
|
|
@ -3084,10 +3084,10 @@ map-visit@^1.0.0:
|
|||
dependencies:
|
||||
object-visit "^1.0.0"
|
||||
|
||||
marked@^4.0.10:
|
||||
version "4.0.10"
|
||||
resolved "https://registry.yarnpkg.com/marked/-/marked-4.0.10.tgz#423e295385cc0c3a70fa495e0df68b007b879423"
|
||||
integrity sha512-+QvuFj0nGgO970fySghXGmuw+Fd0gD2x3+MqCWLIPf5oxdv1Ka6b2q+z9RP01P/IaKPMEramy+7cNy/Lw8c3hw==
|
||||
marked@^4.0.12:
|
||||
version "4.0.12"
|
||||
resolved "https://registry.yarnpkg.com/marked/-/marked-4.0.12.tgz#2262a4e6fd1afd2f13557726238b69a48b982f7d"
|
||||
integrity sha512-hgibXWrEDNBWgGiK18j/4lkS6ihTe9sxtV4Q1OQppb/0zzyPSzoFANBa5MfsG/zgsWklmNnhm0XACZOH/0HBiQ==
|
||||
|
||||
matchdep@^2.0.0:
|
||||
version "2.0.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue