cd ~/Desktop
git clone https://github.com/Daryl23/Activity3.2_YourName.git
mv Activity3.2_YourName Activity3.2_LastName_FirstName
cd Activity3.2_YourName_YourActualName
touch hero.sql
pwd
Step 8: List the contents of the directory (including the hidden ones)
ls -a
git init
git status
git add .
git commit -m "Initial commit"
git remote -v
To create a Git remote repository on GitHub with the same name as the local repository, and associate it with your GitHub account, follow these additional steps:
Open a web browser and go to GitHub (https://github.com).
Log in to your GitHub account or create one if you don't have an account already.
Click on the "+" sign in the upper right corner and select "New repository."
Fill out the repository name as "Activity3.2_YourName" (replace "YourName" with your actual GitHub username), and add an optional description if you like.
Choose the visibility (public or private) based on your preferences.
Optionally, you can initialize the repository with a README file, create a .gitignore file, and select a license.
Click the "Create repository" button to create the remote repository on GitHub.
git remote add origin https://github.com/YourGitHubUsername/Activity3.2_YourName.git
git push -u origin main
code .
code hero.sql
code instructions.txt
git checkout -b feat/create-database
CREATE DATABASE hero;
git status git add hero.sql git commit -m "feat create database syntax"
git checkout main
Step 22: Merge the changes from the feature branch (e.g., "feat/create-database") into the main branch
git merge feat/create-database
git checkout -b feat/create-tables
and provide comments indicating the item number and what is being asked
for in each step. You may comment on your query related to data selection,
but avoid commenting on the database, table creation, and data insertion processes.
git branch
= List all local branches.
git log
git log --oneline
= View the commit history.