DEV Community

Kamalesh AR
Kamalesh AR

Posted on

Gitlab and its basic commands

Today i learned about the gitlab installation and how to upload the projects. And i learn their commands to how add the project by terminal, and it has commands like git add, git commit-m, git push, git status, git clone, git log.

Gitlab commands

  • git status : Shows which files are modified or staged.
  • git add . : Adds all changes in the current directory to staging.
  • git commit-m : Saves your staged changes with a descriptive message.
  • git clone : Downloads a project from GitLab to your computer.
  • git push : Uploads your local commits to the GitLab server.
  • git pull : Downloads latest changes from GitLab and merges them.
  • git log : To see the history.

Top comments (1)

Collapse
 
payilagam_135383b867ea296 profile image
Payilagam

A blog post should contain 500 - 800 words usually. Please try to elaborate the content. Adding Examples, screenshots would be even more attractive. Adding references is also essential in blog post.