Skip to content
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

updated README file #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
Session #3: Git & GitHub

Initializing a Repository
Create a new Git repository: git init
Create a new branch called main while initializing: git init -b main
Cloning a Repository
Clone an existing repository: git clone <repository_url>
Clone and rename the directory: git clone <repository_url> <new_directory_name>
- This is Lisa's version of the repository
- Create a new Git repository: git init
- Create a new branch called main while initializing: git init -b main
- Cloning a Repository
- Clone an existing repository: git clone <repository_url>
- Clone and rename the directory: git clone <repository_url> <new_directory_name>
Tracking Files
Check the status of your repository: git status
Track a new file: git add <file_name>
Expand Down