18 Commits
v1 ... dev

Author SHA1 Message Date
61d397d016 Merge branch 'main' into dev 2025-12-02 18:24:35 +00:00
38c36e0327 Delete .GIT.md.swo 2025-12-02 18:24:13 +00:00
96a16b7cfb Delete .GIT.md.swn 2025-12-02 18:24:07 +00:00
4cf8c85424 Delete .GIT.md.swm 2025-12-02 18:24:00 +00:00
fd428306bf test3 2025-12-02 18:23:01 +00:00
e096bc381c test2 2025-12-02 18:22:22 +00:00
a87429b16c test 2025-12-02 18:21:25 +00:00
0a63687187 Merge pull request 'test' (#5) from dev into main
Reviewed-on: #5
2025-12-02 18:20:04 +00:00
77e43b1b06 test 2025-12-02 18:19:37 +00:00
e3cf7206bc Merge pull request 'dev' (#4) from dev into main
Reviewed-on: #4
2025-12-02 18:14:37 +00:00
3bc14e9d1d Delete .GIT.md.swo 2025-12-02 18:14:10 +00:00
b0df68f468 Delete .GIT.md.swn 2025-12-02 18:14:05 +00:00
f0e3e9fd10 Delete .GIT.md.swm 2025-12-02 18:13:59 +00:00
d9bffb8ea4 git commands 2025-12-02 18:12:47 +00:00
c7bcc2e1b0 Merge pull request 'test' (#3) from dev into main
Reviewed-on: #3
2025-12-02 18:03:55 +00:00
1fc314a99c git commands 2025-12-02 18:03:31 +00:00
4e9ce7b67f test 2025-12-02 17:16:06 +00:00
5d07537b37 test 2025-12-02 16:40:51 +00:00
2 changed files with 34 additions and 4 deletions

24
GIT.md Normal file
View File

@@ -0,0 +1,24 @@
# Git Commands
## Show current branch
``git status``
## Show local and online branches
``git branch -a``
# Workflow
```
git status # show our current branch
git switch or git pull # switch to dev / main and pull
git checkout -b "branch-name" # create an new branch based on the current one
git status # show again the current branch
DO YOUR WORK HERE, EDIT ADD FILES...
git status # show what we have edited / added
git add . # add all the edits
git commit -m "your message" # this makes the commit locally
git push # sends your commit to the public branch and awaits for pr processing
or
git push --set-upstream origin "branch-name" # this can be asked for the fist time only because the branch does not exists online
```

View File

@@ -1,5 +1,10 @@
# Test-Repo # ITSchool
<p align="center">
<a href="./README.md">🏠 Home</a> |
<a href="https://gitea.dev.bodnarescu.ro/Daemon/Test-Repo/wiki">📚 Wiki</a> |
<a href="./GIT.md">🔧 Git Commands</a>
</p>
## Just an test... ## Just an test...
- alt test - alt test
@@ -11,7 +16,8 @@
#!/bin/bash #!/bin/bash
echo "Hello, World!" echo "Hello, World!"
``` ```
# GIT WIKI
[Wiki](https://gitea.dev.bodnarescu.ro/Daemon/Test-Repo/wiki)
# GIT COMMANDS
@todo [GIT.md](/GIT.md)