核心畫面
You can think of commit as 'to put yourself (or something of yours) all the way in, so there is no easy backing out'. Whether it is a promise, your loyalty, your money, your written words, or even a bad deed — once you commit, you have handed that thing over and become responsible for it. The act is done, your name is on it, and it counts.
可以想成「把自己(或自己的某樣東西)整個放進去,放到收不回來的地步」。不管是一個承諾、你的忠誠、你的金錢、你寫下的文…更多收起
可以想成「把自己(或自己的某樣東西)整個放進去,放到收不回來的地步」。不管是一個承諾、你的忠誠、你的金錢、你寫下的文字,甚至是一件壞事——一旦 commit,你就把那樣東西交出去了,並且要為它負責。事情已經做下、名字已經押上、再也賴不掉。這個「交出去、押下去、賴不掉」的畫面,幾乎貫穿了 commit 所有看似分散的用法。原始詞典資料15 筆記錄
以下是外部詞典記錄的用法,原文照列,我們還沒有寫成教學內容。上面的說明才是我們自己寫的;有些用法可能上面已經講過了。
commitverb/kəˈmɪt/
- 1
To give in trust; to put into charge or keeping; to entrust; to consign; used with to or formerly unto.
- Commit these numbers to memory.
- Bid him farwell, commit him to the Graue,
- 2
To imprison: to forcibly place in a jail.
- and ſome of the Conſpirators committed to the Caſtle of Dublin by us
- 3
To forcibly evaluate and treat in a medical facility, particularly for presumed mental illness.
- Tony should be committed to a nuthouse!
- 4
To do (something bad); to perpetrate, as a crime, sin, or fault.
- to commit murder
- to commit a series of heinous crimes
- 5
To pledge or bind; to compromise, expose, or endanger by some decisive act or preliminary step. (Traditionally used only reflexively but now also without oneself etc.)
- to commit oneself to a certain action
- to commit to a relationship
- 6
computingdatabasesengineeringTo make a set of changes permanent.
- When all SQL statements in the transaction are executed successfully, the transaction is committed and all the work that the SQL statements performed is made a permanent part of the database.
- We can commit all unstaged files with one command: […]
- 7
computingengineeringmathematicsTo integrate new revisions into the public or master version of a file in a version control system.
- 8
obsoleteTo enter into a contest; to match; often followed by with.
- For, in theſe ſtrifes, and on ſuch perſons, were as wretched to affect a victorie, as it is vnhappy to be committed with them.
- […]and from hence ( as when Fire and Water are committed together ) ariſeth a most troubleſome conflict.
另外 4 個記錄的用法
- 9
actingbroadcastingentertainmentTo make decisions that effectively convey elements of character.
- To make this scene land, you really have to commit.
- 10
obsoleteTo confound.
- Harry whoſe tuneful and well meaſur'd Song / Firſt taught our Engliſh Muſick how to ſpan / Words with juſt note and accent, not to ſcan / With Midas Ears, committing ſhort and long;
- 11
obsoleteTo commit an offence; especially, to fornicate.
- the sonne might one day bee found committing with his mother[…].
- [K]eepe thy words Iusſtice, ſweare not, commit not, with mans ſworne Spouſe;
- 12
obsoleteTo be committed or perpetrated; to take place; to occur.
- As a vaſt Herd of Cows in a rich Farmer's Yard, if, while they are milked, they hear their Calves at a Diſtance, lamenting the Robbery which is then committing, roar and bellow: So roared forth the Somerſetſhire Mob an Hallaloo, made up of almoſt as many Squawls, Screams, and other different Sounds, as there were Perſons, or indeed Paſſions, among them: […]
commitnoun/kəˈmɪt/
- 1
computingdatabasesengineeringThe act of committing (e.g. a database transaction), making it a permanent change; such a change.
- To support locking and process synchronization independently of transaction commits, the server provides semaphore objects[…]
- Every Git commit represents a single, atomic changeset with respect to the previous state.
- 2
computingengineeringmathematicsThe submission of source code or other material to a source control repository.
- 3
informalhobbieslifestylesportsA person, especially a high school athlete, who agrees verbally or signs a letter committing to attend a college or university.
資料來源:英文維基詞典 English Wiktionary(CC BY-SA 4.0)。 原文照列,未經改寫。