Git
Class 13th Git Apr 26th Git (Global Information Tracker )
SDL (Software Development lifecycle)
1.Analysis (Product Owner, Project Manager, Business Analyst, CTO (Chief technology officer)
2.Design(System Architect, System engineer)
3.Development (Front end dev, Backend dev, Devops)
4.Testing (QA, Tester, Devops)
5.Deployment (Admin, Devops)
6.Maintenance(Users,Testers,Support Managers )
These all project work end of the day it will store in the one repository maintained
Above SDLC confirmation divided the scrums ,scrum master split the task into sprints
All the source code maintained in central repository store ,that is version control tool, tracking the changes and rollback change feature it i will give you Git
What is The version
Control System ? & types
- A version control system(VCS) is a tool that helps Softwate developers manage changes to source code over time
- It keeps track of every modification to the code in a special kind of database.
- Easy rollback compare to the earlier versions.
Collaborate without overwriting each other's work
Revert changes when errors occur.
Compare versions to see what change and why
Branch and merge to work on different feature independently
1. Local version control system (LVCS) :Single use not able to share
2. Centralized version control system (CVCS): Remark Always in internet always be available.
3. Distributed Version control system (DVCS) :99% using this System ,always internet not required
Git (Global Information tracker, Git Hub, Gitlab,AWS CI/CD setup ,Bit bucket)
What is Git ?
- In simple words,it is a distributed version control system(VCS).
- High performance, Completed trackable and open-source tool
- It can integrate with different other services like Jenkins,K8s,AWS CI/CD Setup,etc.
- Github, and GitLab were developed on top of Git
- Command line interface(CLI)
- GUI
- Editors like visual Studio,visual Studio code,Eclipse etc.
git config --global "vakati.subbu@gmail.com"
$ git status
Your branch is up to date with 'origin/main'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: Evenodd.java
[main d9ef6c9] second commit
1 file changed, 1 insertion(+), 2 deletions(-)
d9ef6c9 (HEAD -> main) second commit
476f36c (origin/main) evenodd
Administrator@DESKTOP-AV2PARO MINGW64 /c/git_repos/CCIT2025 (main)
$ git status
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
(use "git push" to publish your local commits)
Untracked files:
(use "git add <file>..." to include in what will be committed)
Number.java
nothing added to commit but untracked files present (use "git add" to track)
Administrator@DESKTOP-AV2PARO MINGW64 /c/git_repos/CCIT2025 (main)
$ git add .
Administrator@DESKTOP-AV2PARO MINGW64 /c/git_repos/CCIT2025 (main)
$ git status
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
(use "git push" to publish your local commits)
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: Number.java
Administrator@DESKTOP-AV2PARO MINGW64 /c/git_repos/CCIT2025 (main)
$ git commit -m "secondfile"
[main 5ddcc74] secondfile
1 file changed, 11 insertions(+)
create mode 100644 Number.java
d9ef6c9 second commit
476f36c (origin/main) evenodd
Administrator@DESKTOP-AV2PARO MINGW64 /c/git_repos/CCIT2025 (main)
$ git push origin
Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 4 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 765 bytes | 382.00 KiB/s, done.
Total 6 (delta 1), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To github.com:Vakatisubbu/CCIT2025.git
476f36c..5ddcc74 main -> main
No comments:
Post a Comment