Easyer pushing to git with ssh
Go to file
Yann Mölle 137c92c530 „README.md“ ändern 2023-04-27 14:29:39 +02:00
README.md „README.md“ ändern 2023-04-27 14:29:39 +02:00
installgitpush.sh „installgitpush.sh“ ändern 2023-04-27 14:18:19 +02:00
pushchanges.sh „pushchanges.sh“ ändern 2023-04-27 14:10:34 +02:00

README.md

GitPush

Install gitpush

sh -c "$(curl -L https://git.moelle.space/hxcde/gitpush/raw/branch/main/installgitpush.sh)"

Usage

! user@PC:/home/ymoelle/repo# nano README.md
! user@PC:/home/ymoelle/repo# gitpush
Write a short commit:
! changed readme
[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#