1. Project management
In this first week, I worked on defining my final project idea and designing my website using Visual Studio Code and GIT.
Visual Studio Code (VS Code) is a versatile source code editor developed by Microsoft, known for its simplicity, powerful features, and wide support for programming languages. It's popular among developers for its extensive customization options and cross-platform compatibility.
Git is a distributed version control system widely used in software development to track and manage changes in source code, facilitating collaboration among teams of programmers and efficient project management.
Basic commands
These are some commands to initiate a repository:
- git init: Initiates a new Git repository.
- git clone [URL]: Clones a remote repository to your machine.
- git add [file]: Adds a file to the staging area.
- git commit -m "[message]": Commits changes with a descriptive message.
- git status: Displays the current repository status.
- git push: Pushes changes to the remote repository.
- git config --global user.email"you@example.com"
- git config --global user.name "your name"
- mkdir "folder name": create folder
- code .:It is to open the code in Visual Studio Code.
- Type in git bash the command "cd (name of the space you want to open)".
- The command "mkdir (name)" is written.
- Write "cd (name)" to get into the newly created folder.
- "git init" to initialize the repository.
- "git add ." and then "git commit -m" and write the name of the change. "repository".
- Type the command "git push" to save it
My Website
The following text shows how I made my webpage:
Step 1, creat a git repository:
Note: after each command, press enter:
Step 2, clone git repository:
To clone the Git repository provided by my instructor, I used the git clone command in the terminal, with the URL of the shared repository. The URL we were given contains a pre-written design code that we can modify.
Step 3, opening and editing with Visual Studio: