quartz/content/notes/git and github.md

9 lines
365 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 :
- tag1
---
how to add commits
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.