Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
4 views
Class Notes
Uploaded by
tushar.nalawade0710
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download now
Download
Save class-notes For Later
Download
Save
Save class-notes For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
4 views
Class Notes
Uploaded by
tushar.nalawade0710
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download now
Download
Save class-notes For Later
Carousel Previous
Carousel Next
Save
Save class-notes For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 4
Search
Fullscreen
1 sudo apt-get install software-properties-common
2 sudo add-apt-repository ppa:git-core/ppa -y
3 sudo apt-get update
4 sudo apt-get install git -y
5 clear
6 git --version
7 mkdir myproject
8 myproject/
9 cd myproject/
10 ls -l
11 git init ## it initializes a local git repo
12 ls -al
13 clear
14 git status
15 ls -l
16 touch 1.java 2.java
17 ls -al
18 git status
19 git add 1.java
20 git status
21 git add .
22 git status
23 clear
24 ls -l
25 git status
26 git commit -m "neww files"
27 git config --global user.email "
[email protected]
"
28 git config --global user.name "Naresh"
29 git commit -m "neww files"
30 clear
31 git log
32 ls -l
33 touch 4.zml 8.html
34 ls -l
35 git status
36 git add .
37 git status
38 git commit -m "2 more files"
39 git status
40 ls -l
41 git log
42 git show 7aa4b3dd68f96a99da87972c3b80cd6bdd5937a8
43 clear
44 touch hello.java
45 ls -l
46 vi 1.java
47 clear
48 git status
49 git commit -m "mod 1.java"
50 git add .
51 git commit -m "mod 1.java"
52 git log
53 clear
54 ls -l
55 git log
56 cat /etc/hosts
57 cp /etc/hosts .
58 ls -l
59 git status
60 git add .
61 git commit -m "hosts"
62 clear
63 history
64 git log
65 clear
66 git remote -v
67 git remote add origin https://github.com/lerndevops/myprojectt.git
68 git remote -v
69 git branch
70 git branch -M main
71 git branch
72 git push -u origin main
73 git log
74 ls -l
75 pwd
76 clear
77 touch now.txt
78 git add .
79 git commit -m "now"
80 git status
81 git log
82 ls -l
83 clear
84 git push -u origin main
85 git remote -v
86 cat /etc/os-release
87 clear
88 git --version
89 ls -l
90 git pull
91 ls -l
92 git log
93 clear
94 git remote -v
95 cd ..
96 ls -l
97 git clone https://github.com/lerndevops/labs
98 ls -l
99 cd labs/
100 ls -l
101 cd ..
102 cd myproject/
103 clear
104 ls -la
105 clear
106 git pull
107 ls -l
108 vi 2.java
109 clear
110 git status
111 git add .
112 git commit -m "mod 2.java"
113 git push -u origin main
114 cat 2.java
115 git pull
116 cat 2.java
117 clear
118 git config --global --list
119 git log
120 clear
121 git log
122 clear
123 git log --oneline
124 git status
125 touch today.txt
126 git status
127 vi 1.java
128 clear
129 git status
130 git add .
131 git status
132 git commit -m "today"
133 git log --oneline
134 clear
135 git log --oneline
136 ls -l
137 git reset --soft 1400980
138 git log --oneline
139 ls -l
140 git status
141 git restore --staged 1.java today.txt
142 git status
143 clear
144 git add .
145 git commit -m "today"
146 clear
147 git log --oneline
148 ls -l
149 git reset --hard 1400980
150 git status
151 ls -l
152 cat 1.java
153 git log --oneline
154 clear
155 touch hello.java
156 git add .
157 git commit -m "hello"
158 touch naresh.java
159 git add .
160 git commit -m "hello"
161 git log --oneline
162 ls -l
163 git revert bae2dc6
164 clear
165 ls -l
166 git log --oneline
167 touch hello.txt
168 git status
169 git add .
170 git status
171 git restore --staged hello.txt
172 git status
173 ls -l
174 ls -al
You might also like
Git Commands
PDF
No ratings yet
Git Commands
10 pages
GIT-B10
PDF
No ratings yet
GIT-B10
5 pages
Mingw64: (Master)
PDF
No ratings yet
Mingw64: (Master)
3 pages
Full List of Git Commands
PDF
No ratings yet
Full List of Git Commands
3 pages
Git Assignment 1-5 Share
PDF
No ratings yet
Git Assignment 1-5 Share
5 pages
Important GIT Commands by Naveen AutomationLabs 1670831428
PDF
No ratings yet
Important GIT Commands by Naveen AutomationLabs 1670831428
7 pages
Git For Data Science
PDF
No ratings yet
Git For Data Science
6 pages
git commands
PDF
No ratings yet
git commands
3 pages
GIT Esc Chicago 2010
PDF
No ratings yet
GIT Esc Chicago 2010
27 pages
Git Commands With Hand on Practise Sheet 1745694669
PDF
No ratings yet
Git Commands With Hand on Practise Sheet 1745694669
4 pages
Git Commands
PDF
No ratings yet
Git Commands
8 pages
Git
PDF
No ratings yet
Git
5 pages
Git
PDF
No ratings yet
Git
15 pages
Git Command 2
PDF
No ratings yet
Git Command 2
5 pages
Cheatsheet Git Commands 01
PDF
No ratings yet
Cheatsheet Git Commands 01
2 pages
Git Cheat Sheet - Google Sheets (1)
PDF
No ratings yet
Git Cheat Sheet - Google Sheets (1)
2 pages
Git Full PDF
PDF
No ratings yet
Git Full PDF
15 pages
Basic Commands of GIT Part - 1
PDF
No ratings yet
Basic Commands of GIT Part - 1
2 pages
GIT
PDF
No ratings yet
GIT
8 pages
git 004 overview
PDF
No ratings yet
git 004 overview
5 pages
git
PDF
No ratings yet
git
4 pages
Git-GitHub Cheat Sheet
PDF
No ratings yet
Git-GitHub Cheat Sheet
4 pages
Git Cheatsheet r2v1 PDF
PDF
No ratings yet
Git Cheatsheet r2v1 PDF
6 pages
Git CheatSheet ?
PDF
No ratings yet
Git CheatSheet ?
8 pages
Git Cheat Sheet: The Essential Git Commands Every Developer Must Know
PDF
No ratings yet
Git Cheat Sheet: The Essential Git Commands Every Developer Must Know
11 pages
Git Cheatsheet
PDF
No ratings yet
Git Cheatsheet
10 pages
Git Commands
PDF
No ratings yet
Git Commands
1 page
Git Cheatsheet
PDF
No ratings yet
Git Cheatsheet
1 page
Git Cheat Sheet
PDF
No ratings yet
Git Cheat Sheet
13 pages
Git Cheat Sheet Bitbucket
PDF
No ratings yet
Git Cheat Sheet Bitbucket
2 pages
Git Cheat Sheet: Git Basics Rewriting Git History
PDF
No ratings yet
Git Cheat Sheet: Git Basics Rewriting Git History
2 pages
Git Cheat Sheet
PDF
No ratings yet
Git Cheat Sheet
2 pages
Git Cheat Sheet: Git Basics Rewriting Git History
PDF
No ratings yet
Git Cheat Sheet: Git Basics Rewriting Git History
2 pages
Git Cheat Sheet: Git Basics Rewriting Git History
PDF
No ratings yet
Git Cheat Sheet: Git Basics Rewriting Git History
2 pages
Git Cheat Sheet: Git Basics Rewriting Git History
PDF
No ratings yet
Git Cheat Sheet: Git Basics Rewriting Git History
2 pages
SWTM 2088 - Atlassian Git Cheatsheet
PDF
No ratings yet
SWTM 2088 - Atlassian Git Cheatsheet
2 pages
Git Cheat Sheet: Git Basics Rewriting Git History
PDF
No ratings yet
Git Cheat Sheet: Git Basics Rewriting Git History
2 pages
Git Cheat Sheet: Git Basics Rewriting Git History
PDF
No ratings yet
Git Cheat Sheet: Git Basics Rewriting Git History
2 pages
Git Cheat Sheet: Git Basics Rewriting Git History
PDF
No ratings yet
Git Cheat Sheet: Git Basics Rewriting Git History
2 pages
Git Cheat Sheet: Git Basics Rewriting Git History
PDF
No ratings yet
Git Cheat Sheet: Git Basics Rewriting Git History
2 pages
Git Hub Cheat Sheet For Git Bash
PDF
No ratings yet
Git Hub Cheat Sheet For Git Bash
2 pages
Git Cheatsheet
PDF
No ratings yet
Git Cheatsheet
1 page
Git
PDF
No ratings yet
Git
5 pages
Git-Commands
PDF
No ratings yet
Git-Commands
2 pages
Analise Da Correção
PDF
No ratings yet
Analise Da Correção
6 pages
3_-_Git_Basics_Branching_Merging
PDF
No ratings yet
3_-_Git_Basics_Branching_Merging
23 pages
A Git Cheat Sheet (Git Command Reference) - A Git Cheat Sheet and Command Reference
PDF
No ratings yet
A Git Cheat Sheet (Git Command Reference) - A Git Cheat Sheet and Command Reference
14 pages
AEC Git and GitHub Commands
PDF
No ratings yet
AEC Git and GitHub Commands
9 pages
devops2,3autfag
PDF
No ratings yet
devops2,3autfag
5 pages
Git Commands
PDF
No ratings yet
Git Commands
2 pages
Version Contrl Example
PDF
No ratings yet
Version Contrl Example
9 pages
?git Cheat Sheet
PDF
No ratings yet
?git Cheat Sheet
2 pages
Git Command 1
PDF
No ratings yet
Git Command 1
2 pages
DEVOPS
PDF
No ratings yet
DEVOPS
3 pages
GIT Cheat Sheet
PDF
No ratings yet
GIT Cheat Sheet
2 pages
Git & Github
PDF
No ratings yet
Git & Github
4 pages
LPIC-1 Primer
From Everand
LPIC-1 Primer
John Greene
4.5/5 (3)
Bash Command Line Pro Tips
From Everand
Bash Command Line Pro Tips
Jason Cannon
4.5/5 (8)
Python-Deprecated Library v1.1 Documentation
From Everand
Python-Deprecated Library v1.1 Documentation
Laurent LAPORTE
No ratings yet
Oracle Certified Professional Java Programmer OCPJP 1Z0 809
From Everand
Oracle Certified Professional Java Programmer OCPJP 1Z0 809
Manish Soni
No ratings yet
GitCheatSheet Issue#2366 102019 V5 Github Git Cheat Sheet
PDF
No ratings yet
GitCheatSheet Issue#2366 102019 V5 Github Git Cheat Sheet
2 pages
磁链
PDF
No ratings yet
磁链
3 pages
Git Notes
PDF
No ratings yet
Git Notes
177 pages
GIT-Cheat-Sheet
PDF
No ratings yet
GIT-Cheat-Sheet
1 page
GitHub Tutorial
PDF
No ratings yet
GitHub Tutorial
27 pages
Git Cheat Sheet - Scaler Topics-3-4
PDF
No ratings yet
Git Cheat Sheet - Scaler Topics-3-4
2 pages
Oh shit Git Katie Sylor Miller download
PDF
No ratings yet
Oh shit Git Katie Sylor Miller download
50 pages
7- Fix the "dubious ownership" Git Issue
PDF
No ratings yet
7- Fix the "dubious ownership" Git Issue
2 pages