Difference between revisions of "Handson4"
From Gridkaschool
(Created page with "# Login to naf-school01.desy.de (cloud240xxx.desy.de) # Go in the folder school/git/puppet # Examine the git repository #* log #* status # Add a test file #* Create the file #* A…") |
|||
Line 1: | Line 1: | ||
− | # Login to naf-school01.desy.de ( |
+ | # Login to naf-school01.desy.de (with your schoolNN account) |
# Go in the folder school/git/puppet |
# Go in the folder school/git/puppet |
||
# Examine the git repository |
# Examine the git repository |
Revision as of 16:06, 1 September 2014
- Login to naf-school01.desy.de (with your schoolNN account)
- Go in the folder school/git/puppet
- Examine the git repository
- 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-school02.desy.de under /var/git/puppet
- 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