Library

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 6

615 git --version

616 pwd
617 which git
618 git -version
619 git --version
620 git config --global user.name "bhasker"
621 git config --global user.email "bhasker@edureka.co"
622 git config --global --list
623 f
624 dsf
625 sdf
626 clear
627 sd
628 ds
629 pwd
630 ls
631 mkdir edureka-project
632 cd edureka-project/
633 pwd
634 ls
635 git init
636 pwd
637 ls
638 vi index.html
639 pwd
640 ls -a
641 git status
642 pwd
643 git add -A
644 git status
645 git rm --cached index.html
646 git status
647 git add index.html
648 git status
649 git commit -m "First commit of index.html"
650 git status
651 pwd
652 ls
653 git ls-files
654 git status
655 git log
656 git log --oneline
657 git log --pretty=oneline
658 git show
659 pwd
660 cd edureka-project/
661 pwd
662 ls
663 pwd
664 git ls-files
665 git log
666 git log --oneline
667 pwd
668 ls -a
669 vi index.html
670 pwd
671 ls
672 git status
673 git log --oneline
674 git show bb3c88d
675 git status
676 git commit -a -m "Second commit of index.html"
677 git status
678 pwd
679 ls
680 git ls-files
681 git log --oneline
682 git show bb3c88d
683 git show 693922a
684 git diff bb3c88d 693922a
685 pwd
686 git status
687 cd
688 pwd
689 ls
690 cd edureka-project/
691 ls -a
692 cd ..
693 cd infra/
694 ls -a
695 cd ..
696 cd edureka-project/
697 ls
698 ls -a
699 pwd
700 ls
701 vi index2.html
702 pwd
703 ls
704 git status
705 pwd
706 git ls-files
707 git add index2.html && git commit -m "First commit of index2.html"
708 pwd
709 ls
710 git ls-files
711 pwd
712 ls
713 vi index2.html
714 git status
715 git diff index2.html
716 git add index2.html
717 git diff --staged index2.html
718 git status
719 git commit -m "Second commit of index2.html"
720 git status
721 pwd
722 ls
723 git log --oneline
724 pwd
725 ls
726 cat index.html
727 cat index2.html
728 git rm index2.html
729 pwd
730 ls
731 git ls-files
732 git status
733 git commit -m "Deleted index2.html"
734 git status
735 pwd
736 ls
737 git ls-files
738 git log --oneline
739 git show 68c7224
740 git log --oneline
741 git revert 68c7224
742 pwd
743 ls
744 git ls-files
745 cat index2.html
746 pwd
747 git log --oneline
748 pwd
749 ls
750 git show bb3c88d
751 pwd
752 ls
753 touch file{1,2,3}.log
754 touch file{1,2,3}.err
755 touch file{1,2,3}.pdf
756 touch file{1,2,3}.out
757 pwd
758 ls
759 touch simple{1,2,3}.class
760 pwd
761 ls
762 git status
763 ls -a
764 vim .gitignore
765 git status
766 vim .gitignore
767 git status
768 vim .gitignore
769 git status
770 vim .gitignore
771 git status
772 git add .gitignore
773 git commit -m "Added gitignore filee"
774 git status
775 pwd
776 ls
777 rm -rf *.out
778 git status
779 rm -rf *.pdf *.err
780 pwd
781 ls
782 git status
783 git log --oneline
784 git commit --amend -m "Added gitignore file"
785 git log --oneline
786 git show 4c60fbc
787 git show 2f3508c
788 git log --oneline
789 git tag
790 git tag -a v1.0 bb3c88d -m "Adding tags"
791 git tag
792 git log --oneline
793 git show v1.0
794 find / -name "*.git"
795 sudo find / -name "*.git"
796 locate *.git
797 cd ..
798 ls
799 cd edureka
800 ls
801 git init
802 cd
803 locate *.git
804 sudo find / -name "*.git"
805 which ls
806 which find
807 which git
808 whereis git
809 history
810 git init --help
811 git add --help
812 git commit --help
813 terraform --help
814 ansible --help
815 docker --help
816 git status
817 cd edureka-project/
818 git status
819 git log --oneline
820 git branch feature
821 git branch
822 git checkout feature
823 git branch
824 git diff master feature
825 git log --oneline master
826 git log --oneline feature
827 git diff master feature
828 git status
829 vi hotfix
830 git status
831 git add .
832 git commit -m "Added hotfix"
833 git log --oneline master
834 git log --oneline feature
835 git diff master hotfix
836 git checkout master
837 git merge feature
838 git log --oneline master
839 git branch -d feature
840 git branch
841 git log --oneline
842 pwd
843 ls
844 cat hotfix
845 git checkout -b feature
846 git status
847 git branch
848 pwd
849 ls
850 vi bugfix
851 git add .
852 git commit -m "Added bugfix"
853 git checkout master
854 vi bugfix
855 git add .
856 git commit -m "Added bugfix"
857 git checkout master
858 git merge feature
859 git branch
860 cat bugfix
861 vi bugfix
862 git add .
863 git commit -m "Resolved conflicts"
864 git status
865 git log --oneline master
866 git log --oneline feature
867 pwd
868 ls
869 git status
870 ls
871 vi index.html
872 vi index2.html
873 git status
874 git stash
875 git status
876 git stash list
877 git stash show stash@{0}
878 git status
879 git checkout feature
880 git checkout master
881 git stash
882 git stash list
883 git stash apply stash@{0}
884 git status
885 git stash list
886 git stash
887 git stash list
888 git stash pop stash@{0}
889 git stash list
890 git status
891 git stash clear
892 git stash list
893 git add .
894 git commit -m "Modified after stashing"
895 git status
896 pwd
897 ls
898 git ls-files
899 pwd
900 cd
901 pwd
902 ls
903 scp edureka-project kslave1:/tmp
904 scp -r edureka-project kslave1:/tmp
905 pwd
906 rm -rf edureka-project
907 pwd
908 ls
909 scp -r kslave1:/tmp/edureka-project .
910 pwd
911 ls
912 cd edureka-project
913 git status
914 git log --oneline
915 pwd
916 ls
917 git remote add origin "https://github.com/bhasker-manikyala/edureka-
project1.git"
918 git remote -v
919 pwd
920 ls
921 git branch
922 git push origin --all
923 cat >token
924 git push origin --all
925 git log --oneline
926 git checkout master
927 git log --oneline
928 git status
929 mv token /home/edureka
930 git status
931 git log --oneline
932 git log --oneline master
933 git log --oneline feature
934 hostname
935 history
edureka@kmaster:~/edureka-project$

You might also like