Difference between revisions of "Handson4"

From Gridkaschool
Line 2: Line 2:
 
# Go in the folder school/puppet
 
# Go in the folder school/puppet
 
# Examine the git repository
 
# Examine the git repository
  +
#* pull
 
#* log
 
#* log
 
#* status
 
#* status

Revision as of 12:09, 2 September 2015

  1. Login to naf-school03.desy.de (with your schoolNN account)
  2. Go in the folder school/puppet
  3. Examine the git repository
    • pull
    • log
    • status
  4. Add a test file
    • Create the file
    • Add the file to your local repo
    • commit the local change
    • push your commit to the server
  5. Try to find your changes on naf-school02.desy.de under /var/git/puppet
  6. Remove your change. Choose one option
    • reset the reposiory to initial state
    • remove the file and commit the change
  7. push the updated repository to the server. (if you use reset you have to use -f)
  8. Examine again the git repository
  9. A example session made by me