Learn git commands in 3 minutes

amannvl

Aman Sharma

Posted on September 5, 2020

Learn git commands in 3 minutes

Refer the below Youtube Video link for better understanding.

https://youtu.be/4hLeQ6FEquY

Commands are -

For push-
git init

git remote add origin https://gitlab.com/crew-chief-systems/bot

git remote -v (for checking current repository)

git add -A(add all files)

git commit -m 'Added my project'

git pull --rebase origin master

git push origin master

For Global registratrtion-
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

/// For pushing updates to Repo ---

git fetch origin master

git pull origin master

git add .

git commit -m 'your commit message'

git push origin master

💖 💪 🙅 🚩
amannvl
Aman Sharma

Posted on September 5, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Learn git commands in 3 minutes
github Learn git commands in 3 minutes

September 5, 2020