Easyer pushing to git with ssh
installgitpush.sh | ||
pushchanges.sh | ||
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#