quartz/content/notes/git and github.md

15 lines
438 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "git and github"
tags :
- entry
- budding
- Bing_AI_assistance
---
how to add commits
1. To add all changes to the staging area in Git, you can use the command `git add .` .
- The `.` indicates that you want to add all changes, including new and modified files, to the staging area. Alternatively, you can use the command `git add -A` or `git add --all` to achieve the same result.
2. git commit -m "message here"