git Fundamentals

print

git –version

  410  git config –global –list

  411  git config –global user.email [email protected]

  412  git config –global –list

  413  ls

  414  cd development/

  415  ls

  416  cd git/

  417  ls

  418  mkdir training

  419  cd tra

  420  cd training/

  421  git init

  422  ls

  423  ls -a

  424  code .

  425  nano new.txt

  426  git status

  427  git add .

  428  git status

  429  mkdir src

  430  cd src/

  431  nano new_file_src.txt

  432  cd ..

  433  ls

  434  git status

  435  git add src

  436  git status

  437  git commit -m  “initial commit”

  438  git status

  439  git status

  440  git commit -m  “edited a file”

  441  git status

  442  ls

  443  ls

  444  git status

  445  git add .

  446  git status

  447  git status

  448  git commit -m  “edited a file”

  449  ls

  450  git status

  451  git add .

  452  git commit -m  “edited a file 2”

  453  git status

  454  ls

  455  nano .gitignore

  456  touch one.txt

  457  touch two.txt

  458  ls

  459  ls -a

  460  nano .gitignore 

  461  git status

  462  git add .gitignore 

  463  ls

  464  nano .gitignore 

  465  ls

  466  git status

  467  git add .

  468  ls

  469  git status

  470  git commit -m “commiting the git ignore file”

  471  git status

  472  mkdir foo

  473  touch foo.txt

  474  ls

  475  cd foo

  476  ls

  477  pwd

  478  touch foo.txt

  479  touch sample.txt

  480  cd ..

  481  pwd

  482  mkdir bar

  483  cd bar/

  484  ls

  485  touch bar.txt

  486  touch bar_read_me.txt

  487  ls

  488  git status

  489  cd ..

  490  git status

  491  git add bar

  492  git add foo

  493  git status

  494  git commit -m “commiting the files and directories”

  495  git status

  496  git add foo

  497  ls

  498  git status

  499  git add foo.txt

  500  git commit

  501  cd development/

  502  ls

  503  cd disi/

  504  cd ..

  505  ls

  506  cd git/

  507  ls

  508  mkdir second_git_training

  509  cd second_git_training/

  510  ls

  511  git clone https://github.com/shadowmanpat/git_training.git

  512  ls

  513  git status

  514  ls

  515  ls -a

  516  ls

  517  cd ..

  518  ls

  519  cd ..

  520  ls

  521  cd development/

  522  ls

  523  cd git

  524  ls

  525  cd secoind_git_training/

  526  git status

  527  git loh

  528  git log

  529  git pulll

  530  git pull

  531  ls

  532  nano john.txt 

  533  ls

  534  git pull

  535  git status

  536  git add john.txt 

  537  git commit -m “commiting the changes done from amber repo”

  538  git pull origin master

  539  nano john.txt 

  540  git status

  541  git status

  542  git add

  543  git add .

  544  git commit -m “commiting the changes with merged changes”

  545  ls

  546  git pull origin master

  547  git push origin master

  548  git push origin master

  549  git status

  550  nano john.txt 

  551  git fetch origin master

  552  cat john.txt 

  553  git status

  554  git add .

  555  git commit -m “committing amber’s changes to local repo”

  556  git status

  557  git merge origin/master

  558  nano john.txt 

  559  git status

  560  git add .

  561  git commit -m “commiting to resolve confict”

  562  git push origin master

  568  ls

  569  git branch –list -r

  570  git branch home_changes

  571  git branch –list

  572  git checkout home

  573  git checkout home_changes

  574  git branch –list

  575  ls

  576  nano newFileFromJohn.txt 

  577  y

  578  ls

  579  nano mynewfile.txt 

  580  git status

  581  git add mynewfile.txt 

  582  git commit -m “commit to the local home_branch”

  583  git checkout master

  584  cat mynewfile.txt 

  585  git branch –list

  586  git checkout home_changes

  587  cat mynewfile.txt 

  588  nano newFileFromJohn.txt 

  589  nano mynewfile.txt 

  590  git branch –list

  591  git branch –list -r

  592  git checkout master

  593  nano mynewfile.txt 

  594  git merge home_changes

  595  nano mynewfile.txt 

  596  git status

  597  git status

  598  git push origin master

  599  git checkout home_changes

  600  git status

  601  git push origin home_changes

  602  git branch

  603  git branch –list

  604  git status

  605  git branch -d home_changes

  606  git checkout master

  607  git branch -d home_changes

  608  git branch

  609  git push –delete origin home_change

  610  git push –delete origin home_changes

  611  git branch

  612  git branch mynewbranch

  613  git branch

  614  git checkout mynewbranch

  615  git status

  616  ls

  617  nano mynewfile.txt 

  618  git status

  619  git branch

  620  git checkout master

  621  git status

  622  git checkout mynewbracnh

  623  git checkout mynewbranch

  624  git status

  625  git add mynewfile.txt 

  626  git status

  627  git checkout status

  628  git checkout master

  629  git status

  630  cat mynewfile.txt 

  631  git status

  632  cat mynewfile.txt 

  633  git status

  634  git checkout mynewbranch

  635  git status

  636  cat mynewfile.txt 

  637  git cheout master

  638  git checkout master

  639  git status

  640  cat mynewfile.txt 

  641  git status

  642  git checkout mynewbranch

  643  git commit -m “commit the changes form meynewbranch”

  644  git checkout master

  645  git status

  646  cat mynewfile.txt 

  647  git checkout mynewbranch

  648  cat mynewfile.txt 

  649  git checkout master

  650  git branch -d mynewbranch

  651  git branch -D mynewbranch

  652  git status

  653  git branch -r

  654  git branch –list -r

  655  git branch –list

  656  git tag

  657  git tag v1.0

  658  git tag

  659  git push origin v1.0

  660  git tag -d v1.0

  661  git tag

  662  git push origin :refs/tags/v1.0

  663  git status

  664  nano fileone.txt

  665  git status

  666  nano fileone.txt

  667  git status

  668  git add .

  669  git commit -m “commit file”

  670  ls

  671  git status

  672  nano fileone.txt

  673  git status

  674  git stash save “stashing the cahnges”

  675  git status

  676  nano fileone.txt

  677  git stash list

  678  ls

  679  git branch plain_branch

  680  ls

  681  git checkout plain_branch

  682  git status

  683  ls

  684  git log –oneline

  685  git cat-file -p 6ed4a55

  686  history

  686  history

cd git_training/

  596  ls

  597  ls

  598  pwd

  599  ls -all

  600  git status

  601  touch mynewfile.txt

  602  nano mynewfile.txt 

  603  git status

  604  git add .

  605  git status

  606  git commit -m “adding a new fil and modifying new file”

  607  git status

  608  ls

  609  git push origin master

  610  git status

  611  git remote -v

  612  git pull origin master

  613  nano john.txt

  614  git add .

  615  git commmit -m “commiting johns changes”

  616  git commit -m “commiting johns changes”

  617  git status

  618  git push origin master

  619  nano john.txt

  620  git commit -am “commiting johns changes”

  621  git status

  622  git push origin master

  623  nano john.txt

  624  git pull origin master

  625  nano john.txt 

  626   touch newFileFromJohn.txt

  627  nano newFileFromJohn.txt 

  628  nano john.txt 

  629  git status

  630  git add .

  631  git commit -m “committing the change from john to demostrate fetch merge”

  632  git push origin master

  633  git push origin master

  634  ls

  635  git brannch –list

  636  git branch –list

  637  git branch –list -r

  638  git branch –list -r

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.