Git
Git is a free and opensource distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is lightning fast and has a huge ecosystem of GUIs, hosting services, and command-line tools.
Gitlab
GitLab offers a wide range of features that make it a powerful tool for developers and organizations. GitLab simplifies the development process by consolidating tools into a single platform. It offers unlimited free private repositories, a user-friendly interface, and integration with third-party APIs. Teams benefit from reduced toolchain complexity, faster development cycles, and improved collaboration.
Difference between Git & Gitlab ?
Git - A free, open-source version control system that developers install locally on their machines to track changes in code.
Gitlab - An online platform that hosts Git repositories and provides a full suite of DevOps tools for managing the entire software development lifecycle, including collaboration features, access control, and project management.
GUI
Graphical User Interface
CLI
Command Line Interface
PWD
Present Working Directory
ls
List items in folders
cd
Change directory
How it works ?
if we want to add our project files and folders to git, it contains 3 stages first one stage area for this we use git add command and next second one is local repository for this we use git commit command and last one is Git repository for this we use git push to push our files and folders.
git add .
here the.is used for all untracked files.git commit -m " "
here inside the " " we use the commit message to display what we commited.
Top comments (0)