DEV Community

Neelakandan R
Neelakandan R

Posted on

GIT

Step 1: Create a group

Image description

Image description

Step 2:After creating group Create a project

Image description

STEP 1:git status
STEP 2:git add .
STEP 3:** git commit -m "ANYNAME"**
STEP 4:git push
STEP 5: username **
STEP 6:
password**

neelakandan@neelakandan-HP-Laptop-15s-eq2xxx:~/Documents/OJVb8/frontend$ **git status**
On branch main
Your branch is up to date with 'origin/main'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
    new file:   index.html
    new file:   indexcopy.html
    new file:   style.css 

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    .gitlab-ci.yml


neelakandan@neelakandan-HP-Laptop-15s-eq2xxx:~/Documents/OJVb8/frontend$ **git add .**
neelakandan@neelakandan-HP-Laptop-15s-eq2xxx:~/Documents/OJVb8/frontend$** git commit -m "hosting"**
[main 494af40] hosting
 4 files changed, 237 insertions(+)
 create mode 100644 .gitlab-ci.yml
 create mode 100644 index.html
 create mode 100644 indexcopy.html
 create mode 100644 style.css 
neelakandan@neelakandan-HP-Laptop-15s-eq2xxx:~/Documents/OJVb8/frontend$ **git push**
Username for 'https://gitlab.com': **username  **                        
Password for 'https://[email protected]':** password**
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 12 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 2.21 KiB | 2.21 MiB/s, done.
Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
To https://gitlab.com/payilagam-may1/frontend.git
   97cd8af..494af40  main -> main
neelakandan@neelakandan-HP-Laptop-15s-eq2xxx:~/Documents/OJVb8/frontend$ 


Enter fullscreen mode Exit fullscreen mode

Top comments (0)