|
231 | 231 | 231 git status
|
232 | 232 | 232 history
|
233 | 233 | 233 history > git-history.txt
|
| 234 | +=========================================================================== |
| 235 | + |
| 236 | + 1 git --version |
| 237 | + 2 mkdir mycode |
| 238 | + 3 ls -l |
| 239 | + 4 cd mycode/ |
| 240 | + 5 ls -l |
| 241 | + 6 pwd |
| 242 | + 7 git init |
| 243 | + 8 ls -l |
| 244 | + 9 git status |
| 245 | + 10 git config --global user.name lerndevops |
| 246 | + 11 git config --global user.email [email protected] |
| 247 | + 12 git config --list |
| 248 | + 13 ls -l |
| 249 | + 14 touch new.java |
| 250 | + 15 ls -l |
| 251 | + 16 git status |
| 252 | + 17 git add new.java |
| 253 | + 18 git status |
| 254 | + 19 git commit -m "new.java created" |
| 255 | + 20 git log |
| 256 | + 21 ls -ltrh |
| 257 | + 22 clear |
| 258 | + 23 ls -l |
| 259 | + 24 touch 4.java hello.c new.xml |
| 260 | + 25 ls -l |
| 261 | + 26 git status |
| 262 | + 27 git add . |
| 263 | + 28 git status |
| 264 | + 29 git commit -m "second commit" |
| 265 | + 30 git status |
| 266 | + 31 git log |
| 267 | + 32 ls -l |
| 268 | + 33 vi new.java |
| 269 | + 34 git status |
| 270 | + 35 ls -l |
| 271 | + 36 rm new.xml |
| 272 | + 37 git status |
| 273 | + 38 git add . |
| 274 | + 39 git status |
| 275 | + 40 ls -l |
| 276 | + 41 vi hello.c |
| 277 | + 42 git status |
| 278 | + 43 git add . |
| 279 | + 44 git status |
| 280 | + 45 git commit -m "third commit" |
| 281 | + 46 git log |
| 282 | + 47 git show d874f1d16d9fc8ee7f859f91d56baef83964f41c |
| 283 | + 48 git log |
| 284 | + 49 git diff ffe1b346 d874f1d16d |
| 285 | + 50 ls -l |
| 286 | + 51 git status |
| 287 | + 52 touch naresh.java |
| 288 | + 53 git status |
| 289 | + 54 git add . |
| 290 | + 55 git status |
| 291 | + 56 git restore --staged naresh.java |
| 292 | + 57 git status |
| 293 | + 58 git log |
| 294 | + 59 git show ffe1b346ff921f2cf22e4e72f6ee321908b5d1c0 |
| 295 | + 60 clear |
| 296 | + 61 ls -l |
| 297 | + 62 git status |
| 298 | + 63 git add . |
| 299 | + 64 git commit -m "new" |
| 300 | + 65 git status |
| 301 | + 66 touch .gitignore |
| 302 | + 67 ls -l |
| 303 | + 68 ls -al |
| 304 | + 69 git status |
| 305 | + 70 vi .gitignore |
| 306 | + 71 git status |
| 307 | + 72 git add . |
| 308 | + 73 git commit -m "added gitignore" |
| 309 | + 74 cat .gitignore |
| 310 | + 75 touch naresh.info |
| 311 | + 76 git status |
| 312 | + 77 touch sachn.log sai.log |
| 313 | + 78 ls -l |
| 314 | + 79 git status |
| 315 | + 80 mkdir test |
| 316 | + 81 ls -l |
| 317 | + 82 cd test/ |
| 318 | + 83 touch abc.java |
| 319 | + 84 touch new.xml |
| 320 | + 85 cd .. |
| 321 | + 86 ls -l |
| 322 | + 87 git status |
| 323 | + 88 touch 888.xml |
| 324 | + 89 git status |
| 325 | + 90 git log |
| 326 | + 91 git log --oneline |
| 327 | + 92 git tag -a v1.5 -m "version 1.5" |
| 328 | + 93 git log --oneline |
| 329 | + 94 git tag -a v1.0 ffe1b34 -m "version 1.0" |
| 330 | + 95 git log --oneline |
| 331 | + 96 git show v1.0 |
| 332 | + 97 clear |
| 333 | + 98 ls -l |
| 334 | + 99 git remote -v |
| 335 | + 100 git remote add origin https://github.com/lerndevops/mycode.git |
| 336 | + 101 git remote -v |
| 337 | + 102 git push -u origin master |
| 338 | + 103 git log --oneline |
| 339 | + 104 git push -u origin master --tags |
| 340 | + 105 history |
| 341 | + 106 cd .. |
| 342 | + 107 git status |
| 343 | + 108 ls -ltrh |
| 344 | + 109 rm -r mycode/ |
| 345 | + 110 ls -l |
| 346 | + 111 git --version |
| 347 | + 112 git clone https://github.com/lerndevops/mycode.git |
| 348 | + 113 ls -l |
| 349 | + 114 cd mycode/ |
| 350 | + 115 ls -ltrh |
| 351 | + 116 git remote -v |
| 352 | + 117 git log --oneline |
| 353 | + 118 cat hello.c |
| 354 | + 119 git fetch |
| 355 | + 120 git log --oneline |
| 356 | + 121 git pull |
| 357 | + 122 cat hello.c |
| 358 | + 123 history |
| 359 | + 124 git fetch |
| 360 | + 125 spool |
| 361 | + 126 history > git-history.txt |
| 362 | + 127 ls -ltrh |
| 363 | + 128 vi git-history.txt |
| 364 | + 129 clear |
| 365 | + 130 cd .. |
| 366 | + 131 ls -ltrh |
| 367 | + 132 rm -r mycode/ |
| 368 | + 133 clear |
| 369 | + 134 git --version |
| 370 | + 135 git config --list |
| 371 | + 136 mkdir myrepo |
| 372 | + 137 cd myrepo/ |
| 373 | + 138 git init |
| 374 | + 139 ls -l |
| 375 | + 140 git status |
| 376 | + 141 touch new.java |
| 377 | + 142 ls -l |
| 378 | + 143 git status |
| 379 | + 144 git add new.java |
| 380 | + 145 ls -l |
| 381 | + 146 git status |
| 382 | + 147 git commit -m "created new.java" |
| 383 | + 148 git log |
| 384 | + 149 clear |
| 385 | + 150 touch 5.c naresh.java |
| 386 | + 151 ls -l |
| 387 | + 152 git status |
| 388 | + 153 vi new.java |
| 389 | + 154 git status |
| 390 | + 155 git add . |
| 391 | + 156 git status |
| 392 | + 157 git commit -m "second commit" |
| 393 | + 158 git log |
| 394 | + 159 touch 6.xml |
| 395 | + 160 ls -l |
| 396 | + 161 rm 5.c |
| 397 | + 162 vi new.java |
| 398 | + 163 git status |
| 399 | + 164 git add . |
| 400 | + 165 git status |
| 401 | + 166 ls -l |
| 402 | + 167 vi naresh.java |
| 403 | + 168 git status |
| 404 | + 169 git add naresh.java |
| 405 | + 170 git status |
| 406 | + 171 git commit -m "third commit" |
| 407 | + 172 git log |
| 408 | + 173 git show 8d61ea6eeede5a92173f6f115a071d9354dd9105 |
| 409 | + 174 git show -p new.java |
| 410 | + 175 touch .gitignore |
| 411 | + 176 ls -l |
| 412 | + 177 ls -al |
| 413 | + 178 vi .gitignore |
| 414 | + 179 git status |
| 415 | + 180 git add . |
| 416 | + 181 git commit -m "added gitignore" |
| 417 | + 182 cat .gitignore |
| 418 | + 183 git status |
| 419 | + 184 touch naresh.info |
| 420 | + 185 git status |
| 421 | + 186 ls -l |
| 422 | + 187 touch a.log n.log |
| 423 | + 188 ls -l |
| 424 | + 189 git status |
| 425 | + 190 mkdir test |
| 426 | + 191 ls -l |
| 427 | + 192 cd test/ |
| 428 | + 193 ls -l |
| 429 | + 194 touch new.java abc.xml y.html |
| 430 | + 195 ls -l |
| 431 | + 196 cd .. |
| 432 | + 197 git status |
| 433 | + 198 clear |
| 434 | + 199 git remote -v |
| 435 | + 200 git remote add origin https://github.com/lerndevops/myrepo.git |
| 436 | + 201 git remote -v |
| 437 | + 202 git push -u origin master |
| 438 | + 203 ls -l |
| 439 | + 204 cat .gitignore |
| 440 | + 205 git log |
| 441 | + 206 clear |
| 442 | + 207 cd .. |
| 443 | + 208 ls -ltrh |
| 444 | + 209 rm -r myrepo/ |
| 445 | + 210 ls -l |
| 446 | + 211 git clone https://github.com/lerndevops/myrepo |
| 447 | + 212 ls -l |
| 448 | + 213 cd myrepo/ |
| 449 | + 214 ls -l |
| 450 | + 215 git log |
| 451 | + 216 git log |
| 452 | + 217 git fetch |
| 453 | + 218 git log |
| 454 | + 219 git pull |
| 455 | + 220 git status |
| 456 | + 221 git log |
| 457 | + 222 cd .. |
| 458 | + 223 ls -ltrh |
| 459 | + 224 git clone https://github.com/PythonLabSKJ/PracticeSet |
| 460 | + 225 ls -l |
| 461 | + 226 cd PracticeSet/ |
| 462 | + 227 ls -l |
| 463 | + 228 touch Ques4.py |
| 464 | + 229 ls -l |
| 465 | + 230 git status |
| 466 | + 231 git add . |
| 467 | + 232 git commit -m "new change" |
| 468 | + 233 ls -lthr |
| 469 | + 234 git log |
| 470 | + 235 git remote -v |
| 471 | + 236 cd .. |
| 472 | + 237 rm -r PracticeSet/ |
| 473 | + 238 git clone https://github.com/lerndevops/PracticeSet |
| 474 | + 239 ls -l |
| 475 | + 240 cd PracticeSet/ |
| 476 | + 241 ls -l |
| 477 | + 242 touch Ques3.py |
| 478 | + 243 ls -l |
| 479 | + 244 git add . |
| 480 | + 245 git commit -m "new change" |
| 481 | + 246 git log |
| 482 | + 247 git remote -v |
| 483 | + 248 git push -u origin master |
| 484 | + 249 su - ubuntu |
| 485 | + 250 clear |
| 486 | + 251 ls -l |
| 487 | + 252 rm -r PracticeSet/ |
| 488 | + 253 ls -ltrh |
| 489 | + 254 cd myrepo/ |
| 490 | + 255 ls -ltrh |
| 491 | + 256 clear |
| 492 | + 257 git clone https://github.com/lerndevops/mydir.git |
| 493 | + 258 cd mydir/ |
| 494 | + 259 ls -ltrh |
| 495 | + 260 touch naresh.java |
| 496 | + 261 git add .. |
| 497 | + 262 git add . |
| 498 | + 263 git commit -m "naresh change" |
| 499 | + 264 git status |
| 500 | + 265 ls -l |
| 501 | + 266 git log |
| 502 | + 267 more .gitignore |
| 503 | + 268 touch abc.xml |
| 504 | + 269 git status |
| 505 | + 270 git add . |
| 506 | + 271 git commit -m "naresh change" |
| 507 | + 272 git push -u origin master |
| 508 | + 273 cd .. |
| 509 | + 274 ls -ltrh |
| 510 | + 275 git clone https://github.com/sivanesan1404/mydir |
| 511 | + 276 cd /tmp |
| 512 | + 277 git clone https://github.com/sivanesan1404/mydir |
| 513 | + 278 cd mydir/ |
| 514 | + 279 ls -ltrh |
| 515 | + 280 git remote -v |
| 516 | + 281 git remote add naresh https://github.com/lerndevops/mydir |
| 517 | + 282 git remote -v |
| 518 | + 283 git pull origin |
| 519 | + 284 git push -u naresh master |
| 520 | + 285 git remote -v |
| 521 | + 286 clear |
| 522 | + 287 cd |
| 523 | + 288 ls -l |
| 524 | + 289 cd mydir/ |
| 525 | + 290 cd .. |
| 526 | + 291 cd myrepo/ |
| 527 | + 292 ls -l |
| 528 | + 293 clear |
| 529 | + 294 ls -l |
| 530 | + 295 touch new.html |
| 531 | + 296 git status |
| 532 | + 297 git add new.html |
| 533 | + 298 git status |
| 534 | + 299 git commit -m "new.thml" |
| 535 | + 300 git log |
| 536 | + 301 git status |
| 537 | + 302 git log --oneline |
| 538 | + 303 git status |
| 539 | + 304 git reset --soft 9babff3 |
| 540 | + 305 git log --oneline |
| 541 | + 306 git status |
| 542 | + 307 git restore --staged new.html |
| 543 | + 308 git status |
| 544 | + 309 clear |
| 545 | + 310 git status |
| 546 | + 311 git add . |
| 547 | + 312 git status |
| 548 | + 313 git commit -m "new.thml" |
| 549 | + 314 git log --oneline |
| 550 | + 315 ls -l |
| 551 | + 316 git reset --hard 9babff3 |
| 552 | + 317 ls -l |
| 553 | + 318 git status |
| 554 | + 319 clear |
| 555 | + 320 git branch |
| 556 | + 321 git brnach |
| 557 | + 322 clear |
| 558 | + 323 git branch |
| 559 | + 324 ls -l |
| 560 | + 325 git log --oneline |
| 561 | + 326 cd .. |
| 562 | + 327 clear |
| 563 | + 328 mkdir testrepo |
| 564 | + 329 cd testrepo/ |
| 565 | + 330 ls -ltrh |
| 566 | + 331 git init |
| 567 | + 332 touch 1.java 2.java |
| 568 | + 333 git add . |
| 569 | + 334 git commit -m "m1" |
| 570 | + 335 git log --oneline |
| 571 | + 336 touch 3.java 4.java |
| 572 | + 337 git add . |
| 573 | + 338 git commit -m "m2" |
| 574 | + 339 git log --online |
| 575 | + 340 git log --oneline |
| 576 | + 341 git remote add origin https://github.com/lerndevops/testrepo.git |
| 577 | + 342 git push -u origin master |
| 578 | + 343 git pull |
| 579 | + 344 git branch |
| 580 | + 345 ls -l |
| 581 | + 346 git log --oneline |
| 582 | + 347 git branch featxy |
| 583 | + 348 git branch |
| 584 | + 349 git checkout featxy |
| 585 | + 350 git branch |
| 586 | + 351 ls -l |
| 587 | + 352 git log --oneline |
| 588 | + 353 touch featx.java |
| 589 | + 354 git add . |
| 590 | + 355 git commit -m "f1" |
| 591 | + 356 touch featy.java |
| 592 | + 357 git add . |
| 593 | + 358 git commit -m "f2" |
| 594 | + 359 git log --oneline |
| 595 | + 360 git push -u origin featxy |
| 596 | + 361 clear |
| 597 | + 362 git branch |
| 598 | + 363 git log --oneline |
| 599 | + 364 git checkout master |
| 600 | + 365 git log --online |
| 601 | + 366 git log --oneline |
| 602 | + 367 git merge featxy |
| 603 | + 368 git log --oneline |
| 604 | + 369 git reset --hard 1ff8c84 |
| 605 | + 370 git log --oneline |
| 606 | + 371 touch defect.java |
| 607 | + 372 git add . |
| 608 | + 373 git commit -m "d1" |
| 609 | + 374 git log --oneline |
| 610 | + 375 git checkout feat |
| 611 | + 376 git checkout featxy |
| 612 | + 377 git log --oneline |
| 613 | + 378 git chekcout master |
| 614 | + 379 git checkout master |
| 615 | + 380 git merge featxy |
| 616 | + 381 git log --oneline |
| 617 | + 382 git reset --hard 1ff8c84 |
| 618 | + 383 touch defect.java |
| 619 | + 384 git add . |
| 620 | + 385 git commit -m "d1" |
| 621 | + 386 git checkout featxy |
| 622 | + 387 git log --oneline |
| 623 | + 388 git rebase master |
| 624 | + 389 git log --oneline |
| 625 | + 390 git checkout master |
| 626 | + 391 git merger featxy |
| 627 | + 392 git merge featxy |
| 628 | + 393 git log --oneline |
| 629 | + 394 history |
0 commit comments