-
Notifications
You must be signed in to change notification settings - Fork 19
Shadi.A #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Shadi.A #9
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,42 @@ | ||
| # Write your code here | ||
| #!/bin/bash | ||
| echo "Creating project…" | ||
| mkdir project | ||
| cd project | ||
| git init | ||
| touch README.md | ||
| mkdir resources | ||
| touch settings.conf | ||
| mkdir src | ||
| cd resources | ||
| touch family_picture.jpg | ||
| touch icon.png | ||
| touch logo.png | ||
| cd ../src | ||
| mkdir database | ||
| mkdir profile | ||
| touch program.java | ||
| cd .. | ||
| git add . | ||
| git commit -a -m "initial commit" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sinc you already used |
||
| sleep 3 | ||
| echo "Setup project" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As mentioned in the first comment about details, the assignment asks for the exact message |
||
| echo "Welcome to my project" >> README.md | ||
| cd src | ||
| rm -rf profile | ||
| cd ../resources | ||
| rm family_picture.jpg | ||
| cd .. | ||
| git commit -a -m "write welcome text to README, remove profile directory , remove family_picture.jpg" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice and descriptive commit message 👍 Small note: It’s usually clearer and safer to run |
||
| sleep 3 | ||
| cd resources | ||
| ls -la | ||
| echo "Setup javascript" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wording and details: |
||
| cd ../src | ||
| mv program.java program.js | ||
| echo "console.log('JavaScript works!');">> program.js | ||
| node program.js | ||
| cd .. | ||
| git commit -a -m "rename program.java to program.js , add log line to program.js" | ||
| cd ~ | ||
| ls -la | ||
| echo "All done!" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| <paste here your github username> | ||
| shmoonwalker |
Uh oh!
There was an error while loading. Please reload this page.