Git Basics: Clone, Add, Pull, Commit, Push
Learn essential Git commands: clone repos, check status, pull updates, and manage code with commit and push. π§

7Infopedia
60.7K views β’ Oct 16, 2021

About this video
Clone
======
git clone https://gitlab.com/pramodkrjsr/test-project.git
list file status
=================
git diff --name-status
To pull latest code from master repo
====================================
git pull
To add modified and new files
==============================
git add .
To commit changes to local repo
================================
git commit -m "my comment"
To push local commit to remote repo
===================================
git push
======
git clone https://gitlab.com/pramodkrjsr/test-project.git
list file status
=================
git diff --name-status
To pull latest code from master repo
====================================
git pull
To add modified and new files
==============================
git add .
To commit changes to local repo
================================
git commit -m "my comment"
To push local commit to remote repo
===================================
git push
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
60.7K
Duration
10:50
Published
Oct 16, 2021
User Reviews
3.9
(12) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now