Difference between revisions of "Handson4"
From Gridkaschool
Line 10: | Line 10: | ||
#* commit the local change |
#* commit the local change |
||
#* push your commit to the server |
#* push your commit to the server |
||
− | # Try to find your changes on naf- |
+ | # Try to find your changes on naf-school04.desy.de under /etc/puppet/gitenvironments |
# Remove your change. Choose one option |
# Remove your change. Choose one option |
||
#* reset the reposiory to initial state |
#* reset the reposiory to initial state |
Revision as of 12:09, 2 September 2015
- Login to naf-school03.desy.de (with your schoolNN account)
- Go in the folder school/puppet
- Examine the git repository
- pull
- log
- status
- Add a test file
- Create the file
- Add the file to your local repo
- commit the local change
- push your commit to the server
- Try to find your changes on naf-school04.desy.de under /etc/puppet/gitenvironments
- Remove your change. Choose one option
- reset the reposiory to initial state
- remove the file and commit the change
- push the updated repository to the server. (if you use reset you have to use -f)
- Examine again the git repository
- A example session made by me