You are on page 1of 5

1.

Test /Uat
on -off

I am

git remote rm origin

git remote -v

***************************

FOlder
Step1:
master
code (file)
Hello DevOps engineers
add --> commit -->

step:
Create a branch
master --> developemt

code
Hello DevOps engineers
modifications
helloo Aws Engineers
add commit -->

Step3:
master
code (file)
Hello DevOps engineers
Hello Linux admins
add --> commit -->

master lo developem
conflicts will resolve

*****************************************
git clone https://github.com/devopsbyrushi/220.git

git clone https://github.com/devopsbyrushi/DempoProject.git --branch aug-release

clone a single branch


git clone -b aug-release https://github.com/devopsbyrushi/DempoProject.git

294 git init


295 git status
296 git add .
297 git status
298 git commit -m "3 files"
299 git log
300 git remote add origin https://github.com/devopsbyrushi/cc2020.git
301 git push -u origin master
302 ls
303 git status
304 git init
305 git status
306 git add dmatcode.txt
307 git config --global --unset user.name
308 git config --global --unset user.email
309 clear
310 git status
311 git commit -m "nov batch dmat code pushing for first code"
312 git config --global user.email "rushi@acc.com"
313 git config --global user.name "rushi"
314 git commit -m "nov batch dmat code pushing for first code"
315 git log
316 git remote add origin https://github.com/devopsbyrushi/oct2020.git
317 git push -u origin main
318 git push -u origin master
319 git clone https://github.com/devopsbyrushi/DempoProject.git
320 ls
321 pwd
322 cd DempoProject
323 pwd
324 ls
325 git log
326 git log
327 git log --onelin
328 clear
329 git log
330 git log --author "devopsbyrushi" --oneline
331 git log
332 git log --author "Kiran@accenture.com"
333 git log --author "Kiran@accenture.com" --oneline
334 git log --since=2015-01-01
335 git log --since=2015-01-01 --oneline
336 git log --since=2015-01-01 --author=Kiran --oneline
337 git log --until=2016-01-01
338 git log --until=2010-01-01
339 git log --until=2020-01-01
340 git init
341 touch rushi
342 touch test
343 git status
344 git add rushi test
345 git status
346 git commit -m "test" test
347 git status
348 git log
349 git show 8ebf5fc630f7146a0162f3af8f448da626a5c62e
350 touch 1 2 3 4 5 6
351 ls
352 git status
353 git add .
354 git status
355 git commit -m "1" 1
356 git commit -m "2" 2
357 git commit -m "3" 3
358 git commit -m "4" 4
359 git commit -m "all"
360 clear
361 git log --oneline
362 git status
363 giyt show f3045d8
364 git show f3045d8
365 clear
366 git log --oneline
367 git reset --soft f15fe38
368 git status
369 git log --oneline
370 git reset head *
371 git status
372 git log --oneline
373 git reset --mixed 649b147
374 git status
375 clear
376 giyt log
377 git log
378 clear
379 git log --oneline
380 git rest --mixed 649b147
381 git reset --mixed 649b147
382 git log --oneline
383 git reset --mixed 25d8d44
384 git log --oneline
385 git push -u origin master
386 git push -u origin master
387 git log
388 touch a b c d e f g
389 git add a
390 git status
391 git stash list
392 clear
393 git stash list
394 git stash save "i am saving a file"
395 git stash list
396 git status
397 git add .
398 git stash list
399 git status
400 git stash save "all" b
401 git status
402 git stash list
403 touch one two three
404 git add one
405 git sttaus
406 git status
407 git stash save " one file"
408 git stash list
409 git add two
410 git status
411 git stash save "two"
412 git stash list
413 git add three
414 git stash save "threeeasvnsdbslvnslbldb"
415 git stash list
416 touch today relaease
417 git status
418 git add .
419 git commit -m "today release"
420 git log
421 git stash list
422 git stash apply
423 git stash list
424 git stash apply stash@{4}
425 git stash list
426 git stash pop
427 git stash list
428 git stash pop stash@{1}
429 git stash list
430 git stash drop
431 git stash list
432 git stash drop stash@{2}
433 git stash list
434 git stash list
435 git stash drop stash@{1}
436 git stash list
437 git stash drop
438 clear
439 ls
440 git remote add origin https://github.com/devopsbyrushi/199.git
441 git remote rm origin
442 git remote add origin https://github.com/devopsbyrushi/199.git
443 git push -u origin master
444 git push -u origin master
445 git push -u origin master
446 git push -u origin master
447 git log
448 git log -1
449 git init
450 touch tser
451 git add .
452 git commit -m "test"
453 clear
454 touch code1
455 ls
456 vi code1
457 vi code1
458 touch test
459 vi test
460 cat test
461 cat code1
462 clear
463 ls
464 git add code1
465 git commit -m "code1 is done codee in progress"
466 git branch
467 git branch newbranch
468 git branch
469 git checkout newbranch
470 ls
471 touch code100
472 git add code100
473 git commit -m "code100"
474 git checkout master
475 ls
476 git merge newbranch
477 ls
478 git checkout -b master100
479 ls
480 history
481 touch 1 2 3 4 5 6
482 git log
483 git config --global --unset user.name
484 git config --global --unset user.email
485 git config --global user.name "Rushikumar"
486 git config --global user.email "rushikumar@gmail.com"
487 ls
488 touch new
489 git add new
490 git commit -m "new"
491 git log
492 git config --list
493 git remote -v
494 git remote -v
495 git clone https://github.com/devopsbyrushi/DempoProject.git --branch aug-
release
496 git clone -b aug-release https://github.com/devopsbyrushi/DempoProject.git
497 ls
498 cd DempoProject/
499 ls
500 git log
501 git log --oneline
502 git tag my-fs
503 git log --oneline
504 touch 1 2 3
505 git add .
506 git commit -m "123"
507 git tag latestrelease2
508 git log --oneline
509 history

You might also like