Git is a tool for recording changes to your code.
It's essential for working in teams and recovering from bad changes.
Instructions
- Ensure git is installed on the system.
- In your terminal, navigate to the project root.
- Create a new git repository.
git init
- In the web directory, rename example.gitignore to .gitignore.
- See the comments in example.gitignore.
- Create a .gitignore file in your project root to exclude any additional files.
- Stage files to commit.
git add .
- Commit with message.
- git
commit -m "Initial commit"
- git