Post-Radicle sync at 2025-06-05 01:07:56
This commit is contained in:
parent
d4edf2afd8
commit
bf03d19403
29 changed files with 351 additions and 1 deletions
53
docs/gitlab/3_commit_existing_repo_gitlab_ubuntu.md
Normal file
53
docs/gitlab/3_commit_existing_repo_gitlab_ubuntu.md
Normal file
|
@ -0,0 +1,53 @@
|
|||
### 📘 `3_commit_existing_repo_gitlab_ubuntu.md`
|
||||
|
||||
```markdown
|
||||
## 📘 `3_commit_existing_repo_gitlab_ubuntu.md`
|
||||
|
||||
### 📌 Purpose
|
||||
|
||||
Work with an existing GitLab repo: clone, edit, commit, and push using Ubuntu.
|
||||
|
||||
---
|
||||
|
||||
### 🛠️ Step-by-Step
|
||||
|
||||
#### Step 1: Clone the repository
|
||||
|
||||
```bash
|
||||
git clone git@gitlab.com:your-username/your-repo.git
|
||||
cd your-repo
|
||||
````
|
||||
|
||||
---
|
||||
|
||||
#### Step 2: Edit files
|
||||
|
||||
```bash
|
||||
nano myfile.txt
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### Step 3: Stage and commit
|
||||
|
||||
```bash
|
||||
git add .
|
||||
git commit -m "Your change description"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### Step 4: Push your changes
|
||||
|
||||
```bash
|
||||
git push origin master
|
||||
```
|
||||
|
||||
If you use another branch (e.g., `main`, `dev`), substitute accordingly.
|
||||
|
||||
---
|
||||
|
||||
````
|
||||
|
||||
---
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue