Skip to content

Commit f852f73

Browse files
author
Amin Jafari
committed
Merge branch 'collaboration/05-git-pull-request'
2 parents 72de639 + 26ac447 commit f852f73

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

git-pull-request.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Git Pull Request
2+
3+
A pull request (PR) is a way to propose changes to a repository.
4+
5+
## Usage
6+
1. Fork the repository.
7+
2. Create a new branch and make changes.
8+
3. Push the branch to your fork.
9+
4. Open a PR on GitHub/GitLab.
10+
11+
## Explanation
12+
- PRs allow collaborators to review and discuss changes before merging.
13+
- Resolve conflicts and address feedback during the PR process.
14+
15+
## Example
16+
```bash
17+
git checkout -b feature-login
18+
git add .
19+
git commit -m "Add login feature"
20+
git push origin feature-login
21+
```

0 commit comments

Comments
 (0)