Exercise 3 - daily routine 3. In 'wc1': a) make some order with folders - move all…
- User
Exercise 3 - daily routine 3. In 'wc1': a) make some order with folders
- move all pictures into new folder (pic) (use 'mv' and check the repo with 'status' and 'diff')
- move all javascript files into new folder (js) (use 'git mv' and check the repo) b) analize situation - what can you observe? (-: c) add to cache changes from a) (git add) d) check the repo e) create revision (git commit) f) check the repo g) send changes to remote repo (git push) h) check the repo i) add new file 'logo5.html', copy file 'logo.html' into it you did in the first exercise (git clone)
and change type of picture rotation (in the first row all should have 'left') j) check the repo (wc1), status, diff k) send changes to remote repo l) check the repo again
- Assistant
a) To make some order with folders in 'wc1':
- Move all pictures into a new folder named 'pic':
codemkdir pic mv *.jpg pic mv *.png pic mv *.gif pic- Move all javascript files into a new folder named 'js':
codemkdir js git mv *.js jsb) After moving the files, you can observe that the files have been moved to their respective folders. The 'pic' folder now contains all the pictures, and the 'js' folder contains all the javascript files.
c) Add the changes to the cache:
codegit add .d) Check the repo:
codegit statuse) Create a revision:
codegit commit -m "Moved pictures to pic folder and javascript files to js folder"f) Check the repo:
codegit logg) Send changes to the remote repo:
- User
Exercise 5 - empty folder, daily routine con't 5. In 'wc2': a) create new empty catalog 'html'
- check status - what happened?
- send changes to remote repository (how?)
- check status b) in 'html' folder place all files with extension '.html'
- check status, but don't commit yet c) create new file "logo_jq2.js", copy "logo_jq1.js" and change parameters (delay, speed, timeout) for rotation of type 'slideY'
- check the repo and analyze messages
- send changes to remote repository
- check the repo again d) test your project - what are the conclusions?
- Assistant
a) To create a new empty catalog 'html' in 'wc2':
codemkdir htmlb) To place all files with the '.html' extension into the 'html' folder:
codemv *.html htmlc) To create a new file 'logo_jq2.js' and copy the contents of 'logo_jq1.js' into it, and change the parameters for the rotation of type 'lideY':
codecp logo_jq1.js logo_jq2.jsd) To test the project, open the 'index.html' file in a web browser and observe the changes in the rotation of the logo.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.