Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does it mean to check-in Code

I am new to the DevOps world and I am reading about Continuous Integration, What does it mean to check-in your source code. Does this mean pushing it to the branch after you write the code?

like image 991
edmamerto Avatar asked Dec 18 '17 18:12

edmamerto


People also ask

What is meant by checkin in git?

It simply means to upload code to the master branch so that an admin can check and update the project. Similarly, to check-out means to download the code from master repo.

What is check in and check out in software engineering?

Usually when an item or a file is checked out to a user, that user can work on that item or file, and other users cannot. Other users must wait for the user to check in the item or file again (that is, perform a check-in) before they can edit the item or file.

What sort of file should not be put into a source code repository?

Config files with sensitive information (passwords, private keys etc.)


1 Answers

Checking-in code means to upload code to main branch repository so that its administrator can review the code and finally update the project version. Additionally, checking-out code is the opposite which means to download a copy of code from the repository. For example, on GitHub, cloning means checking-out code and pull request means checking-in code.

like image 156
Rabbani Rasha Avatar answered Sep 19 '22 04:09

Rabbani Rasha