-
Notifications
You must be signed in to change notification settings - Fork 19
Atiqa N. #23
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?
Atiqa N. #23
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 | ||
| echo "Creating project…" | ||
| mkdir project | ||
| git init | ||
|
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. The git repository needs to be created inside the folder
|
||
| touch project/README.md | ||
| mkdir project/resources | ||
| cd project/resources | ||
| touch "family picture.jpg" | ||
| touch icon.png | ||
| touch logo.png | ||
| cd ../ | ||
| touch settings.conf | ||
| mkdir src | ||
| cd src | ||
| mkdir database | ||
| mkdir profile | ||
| touch program.java | ||
| cd ../ | ||
| git add . | ||
| git commit -m "initial commit" | ||
| sleep 3 | ||
| echo "Setup project…" | ||
| echo "Welcome to my project" >> README.md | ||
| cd src | ||
| rmdir profile | ||
| cd ../ | ||
| cd resources | ||
| rm "family picture.jpg" | ||
| cd ../ | ||
| git add . | ||
| git commit -m "second 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. The commit message needs to be descriptive:
|
||
| sleep 3 | ||
| ls resources | ||
| echo "Setup javascript…" | ||
| cd src | ||
| mv program.java program.js | ||
| echo "console.log('JavaScript works!');" >> program.js | ||
| node program.js | ||
| cd ../ | ||
| git add . | ||
| git commit -m "third 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. Same here, the commit message needs to be descriptive:
|
||
| ls $HOME | ||
| echo "All done!" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| <paste here your github username> | ||
| atiqanaseer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually it is a good practice to include
#!/bin/bashor#!/usr/bin/env bashline at the beginning of a shell script file.