200 английских слов для программистов: Git и код

Английская терминология, с которой программист сталкивается каждый день: commit, push, pull, merge, branch, repository, clone, fork. Работа с ветками, базовые понятия кода, отладки и код-ревью с переводом и примерами.
English (US)RussianB1
200 words
newlearningknown
Term (100)
Meaning
commit — коммит; фиксация изменений
commit
I need to commit my changes before leaving
коммит; фиксация изменений
push — отправить; запушить
push
Don't forget to push your code to the remote
отправить; запушить
pull — получить; стянуть
pull
Pull the latest changes before you start working
получить; стянуть
merge — слияние; объединить
merge
We need to merge the feature branch into main
слияние; объединить
branch — ветка; ответвление
branch
Create a new branch for this feature
ветка; ответвление
repository — репозиторий; хранилище
repository
Clone the repository to your local machine
репозиторий; хранилище
clone — клонировать; копировать
clone
Clone the repo and start working on it
клонировать; копировать
fork — форк; ответвление проекта
fork
Fork the project to make your own changes
форк; ответвление проекта
checkout — переключиться; извлечь
checkout
Checkout the develop branch to see the changes
переключиться; извлечь
fetch — получить; загрузить
fetch
Fetch the remote changes but don't merge yet
получить; загрузить
rebase — перебазировать
rebase
Rebase your branch on top of main
перебазировать
stash — отложить; спрятать
stash
Stash your changes before switching branches
отложить; спрятать
diff — различие; разница
diff
Check the diff before committing
различие; разница
log — журнал; история
log
View the git log to see recent commits
журнал; история
status — статус; состояние
status
Run git status to see modified files
статус; состояние
add — добавить; индексировать
add
Add the files to staging area
добавить; индексировать
reset — сбросить; откатить
reset
Reset the commit if you made a mistake
сбросить; откатить
revert — отменить; вернуть
revert
Revert the commit to undo the changes
отменить; вернуть
cherry-pick — выборочно применить
cherry-pick
Cherry-pick that commit to this branch
выборочно применить
tag — тег; метка
tag
Tag the release with version number
тег; метка
remote — удалённый; внешний
remote
Add a new remote repository
удалённый; внешний
origin — источник; оригинал
origin
Push to origin main branch
источник; оригинал
upstream — вышестоящий поток
upstream
Set up upstream to track the original repo
вышестоящий поток
downstream — нижестоящий поток
downstream
The downstream repos will get the update
нижестоящий поток
HEAD — указатель текущей позиции
HEAD
HEAD points to your current commit
указатель текущей позиции
conflict — конфликт; столкновение
conflict
Resolve the merge conflict manually
конфликт; столкновение
staging — индексация; подготовка
staging
Add files to staging before commit
индексация; подготовка
tracked — отслеживаемый
tracked
Only tracked files will be committed
отслеживаемый
untracked — неотслеживаемый
untracked
Add the untracked files to git
неотслеживаемый
ignore — игнорировать
ignore
Add node_modules to gitignore
игнорировать
blame — история изменений строки
blame
Use git blame to see who wrote this line
история изменений строки
bisect — бинарный поиск коммита
bisect
Use bisect to find the bad commit
бинарный поиск коммита
squash — объединить коммиты
squash
Squash all commits into one before merging
объединить коммиты
amend — исправить; дополнить
amend
Amend the last commit with new changes
исправить; дополнить
pull request — запрос на слияние
pull request
Open a pull request for code review
запрос на слияние
code review — ревью кода
code review
Submit your code for code review
ревью кода
approve — одобрить; утвердить
approve
Approve the pull request if it looks good
одобрить; утвердить
request changes — запросить изменения
request changes
Request changes before approving
запросить изменения
comment — комментарий
comment
Leave a comment on the pull request
комментарий
issue — задача; проблема
issue
Create an issue to track this bug
задача; проблема
bug — баг; ошибка
bug
Fix the bug in the login function
баг; ошибка
feature — функция; возможность
feature
Implement the new feature by Friday
функция; возможность
hotfix — срочное исправление
hotfix
Deploy the hotfix to production
срочное исправление
patch — патч; заплатка
patch
Apply the security patch immediately
патч; заплатка
release — релиз; выпуск
release
Prepare the release for next week
релиз; выпуск
deploy — развернуть; деплой
deploy
Deploy the changes to staging first
развернуть; деплой
rollback — откат; откатить
rollback
Rollback the deployment if it fails
откат; откатить
production — продакшн; боевая среда
production
Never push directly to production
продакшн; боевая среда
staging environment — тестовая среда
staging environment
Test on staging before production
тестовая среда
development — разработка; девелопмент
development
Work on the development branch
разработка; девелопмент
variable — переменная
variable
Declare a variable to store the value
переменная
function — функция
function
Write a function to calculate the total
функция
method — метод
method
Call the method on the object
метод
class — класс
class
Create a new class for user management
класс
object — объект
object
The object contains user data
объект
array — массив
array
Store the items in an array
массив
string — строка
string
Convert the number to a string
строка
integer — целое число
integer
The function returns an integer
целое число
boolean — булево значение
boolean
The flag is a boolean type
булево значение
null — нуль; пустое значение
null
Check if the value is null
нуль; пустое значение
undefined — неопределённый
undefined
The variable is undefined
неопределённый
constant — константа
constant
Define a constant for the API key
константа
parameter — параметр
parameter
Pass the user ID as a parameter
параметр
argument — аргумент
argument
The function takes three arguments
аргумент
return — вернуть; возврат
return
Return the result from the function
вернуть; возврат
loop — цикл
loop
Use a loop to iterate over the array
цикл
iteration — итерация; повторение
iteration
Each iteration processes one item
итерация; повторение
condition — условие
condition
Add a condition to check the input
условие
statement — оператор; инструкция
statement
The if statement controls the flow
оператор; инструкция
expression — выражение
expression
Evaluate the expression first
выражение
operator — оператор
operator
Use the equality operator to compare
оператор
syntax — синтаксис
syntax
Check your syntax for errors
синтаксис
compile — компилировать
compile
Compile the code before running
компилировать
runtime — время выполнения
runtime
The error occurs at runtime
время выполнения
debug — отлаживать; дебажить
debug
Debug the code to find the issue
отлаживать; дебажить
breakpoint — точка останова
breakpoint
Set a breakpoint on line 42
точка останова
stack trace — трассировка стека
stack trace
Check the stack trace for errors
трассировка стека
exception — исключение
exception
Handle the exception properly
исключение
error — ошибка
error
Fix the error before deploying
ошибка
warning — предупреждение
warning
Don't ignore compiler warnings
предупреждение
console — консоль
console
Print output to the console
консоль
terminal — терминал
terminal
Run the command in terminal
терминал
command line — командная строка
command line
Use command line to navigate
командная строка
script — скрипт
script
Write a script to automate this
скрипт
execute — выполнить; запустить
execute
Execute the script on the server
выполнить; запустить
import — импортировать
import
Import the module at the top
импортировать
export — экспортировать
export
Export the function for other files
экспортировать
module — модуль
module
Install the required module
модуль
package — пакет
package
Add the package to dependencies
пакет
dependency — зависимость
dependency
Update the project dependencies
зависимость
library — библиотека
library
Use a library for date handling
библиотека
framework — фреймворк
framework
Learn the React framework
фреймворк
API — программный интерфейс
API
Call the REST API endpoint
программный интерфейс
endpoint — конечная точка
endpoint
Create a new API endpoint
конечная точка
request — запрос
request
Send a GET request to the server
запрос
response — ответ
response
Parse the JSON response
ответ
callback — обратный вызов
callback
Pass a callback function
обратный вызов
promise — промис; обещание
promise
The function returns a promise
промис; обещание
async — асинхронный
async
Mark the function as async
асинхронный
await — ожидать
await
Await the promise to resolve
ожидать

Request a feature

What should we add or fix? We read every message and send a little gift for the idea.

0 / 4000