Hi Everyone!
Today is my eight day class in Java full stack Development course. I am going to share topic to push the code in git lab. What I learn Today.
Command for install git in terminal
sudo apt - get install git
sudo apt update
fix --missing
git --version
git config
Commands to push the code in gitlab
Basic git commands
git init
create a new git
git clone
copy the code
git status
check the copy status
git add
check the status
git add.
track all file and any other file
git restore-stage
to untrack
git commit-m(message)
save changes
git push
upload to remote
git log
check the history(see commit)
git branch
list branch
git merge
merge a branch
Happy Coding
Top comments (0)