gitpush/README.md

29 lines
812 B
Markdown
Raw Permalink Normal View History

2023-04-27 14:17:32 +02:00
# GitPush
2023-04-27 14:02:32 +02:00
2023-04-27 14:17:32 +02:00
## Install gitpush
2023-04-27 13:59:21 +02:00
```bash
2023-04-27 14:17:32 +02:00
sh -c "$(curl -L https://git.moelle.space/hxcde/gitpush/raw/branch/main/installgitpush.sh)"
2023-04-27 14:23:09 +02:00
```
## Usage
2023-04-27 14:29:39 +02:00
```diff
! user@PC:/home/ymoelle/repo# nano README.md
! user@PC:/home/ymoelle/repo# gitpush
2023-04-27 14:23:09 +02:00
Write a short commit:
2023-04-27 14:29:39 +02:00
! changed readme
2023-04-27 14:23:09 +02:00
[main 4a28f67] 'changed readme'
Committer: root <user@PC>
1 file changed, 1 insertion(+)
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 314 bytes | 314.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0), pack-reused 0
remote: . Processing 1 references
remote: Processed 1 references in total
To ssh://ssh.git.moelle.space:2222/hxcde/repo.git
94f5e1e..4a28f67 main -> main
user@PC:/home/user/repo#
2023-04-27 14:29:39 +02:00
```