Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^8: perl in the stars

by hippo (Bishop)
on Jan 02, 2023 at 10:58 UTC ( [id://11149285]=note: print w/replies, xml ) Need Help??


in reply to Re^7: perl in the stars
in thread perl in the stars

fritz@laptop:~/Documents/simbad3$ git commit -m 'Initial project versi +on' [master (root-commit) c5706b8] Initial project version 2 files changed, 26 insertions(+) create mode 100755 1.simbad.pl create mode 100644 README.md fritz@laptop:~/Documents/simbad3$ git push -uf origin main error: src refspec main does not match any error: failed to push some refs to 'git@gitlab.com/perlmonks/simbad3.g +it' fritz@laptop:~/Documents/simbad3$

From this you are trying to push a branch called "main" which doesn't exist. Your branch is called "master" - push that instead.

It is still unlikely to work because your remote URL looks wrong (it has no colon).


🦛

Replies are listed 'Best First'.
Re^9: perl in the stars
by Aldebaran (Curate) on Jan 03, 2023 at 01:45 UTC
    It is still unlikely to work because your remote URL looks wrong (it has no colon).

    Du hast ein ganz genaues Auge, hippo.

    From this you are trying to push a branch called "main" which doesn't exist. Your branch is called "master" - push that instead.

    Auch notwendig. Ich finde englishes Markup gar verwirrend.

    git push -uf origin master

    Der Lange hat den Ball nach 37 Versagen. Kann er nun mit deutscher Anweisung das Ziel reichen?

    fritz@laptop:~/Documents/simbad3$ ll total 16 drwxrwxr-x 2 fritz fritz 4096 Jan 2 16:14 ./ drwxr-xr-x 13 fritz fritz 4096 Jan 2 01:25 ../ -rwxrwxr-x 1 fritz fritz 257 Dec 31 21:38 1.simbad.pl* -rw-rw-r-- 1 fritz fritz 780 Jan 2 16:17 README.md fritz@laptop:~/Documents/simbad3$ pwd /home/fritz/Documents/simbad3 fritz@laptop:~/Documents/simbad3$ echo "starting fresh after rm -rf .g +it" starting fresh after rm -rf .git fritz@laptop:~/Documents/simbad3$ git init Initialized empty Git repository in /home/fritz/Documents/simbad3/.git +/ fritz@laptop:~/Documents/simbad3$ git add * fritz@laptop:~/Documents/simbad3$ git remote add origin git@gitlab.com +:perlmonks/simbad3.git fritz@laptop:~/Documents/simbad3$ git commit -m 'Initial project versi +on' [master (root-commit) eec2009] Initial project version 2 files changed, 27 insertions(+) create mode 100755 1.simbad.pl create mode 100644 README.md fritz@laptop:~/Documents/simbad3$ git remote origin fritz@laptop:~/Documents/simbad3$ git remote -v origin git@gitlab.com:perlmonks/simbad3.git (fetch) origin git@gitlab.com:perlmonks/simbad3.git (push) fritz@laptop:~/Documents/simbad3$ git push -uf origin master Enumerating objects: 4, done. Counting objects: 100% (4/4), done. Delta compression using up to 4 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 667 bytes | 111.00 KiB/s, done. Total 4 (delta 0), reused 0 (delta 0) remote: remote: To create a merge request for master, visit: remote: https://gitlab.com/perlmonks/simbad3/-/merge_requests/new?me +rge_request%5Bsource_branch%5D=master remote: To gitlab.com:perlmonks/simbad3.git * [new branch] master -> master Branch 'master' set up to track remote branch 'master' from 'origin'. fritz@laptop:~/Documents/simbad3$

    Tor...Tor...Tor

    Dem Tor ist es beim 38sten Versuch erlungen!

    Thank you for helping me fail to fail: simbad3/-/tree/master

    Gruss aus Amiland,

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11149285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (9)
As of 2024-04-23 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found