Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Instead of ... you should do

I'm trying to get there soonix, but I can't get the ball to drop:

git remote add origin git@gitlab.com:perlmonks/simbad2.git

strike 1

git remote add origin git@gitlab.com/tallharry66/simbad2.git

strike 2

git remote add origin git@gitlab.com/perlmonks/simbad3.git

Casey's back on the mound:

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 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$ ll total 20 drwxrwxr-x 3 fritz fritz 4096 Jan 2 01:26 ./ drwxr-xr-x 13 fritz fritz 4096 Jan 2 01:25 ../ -rwxrwxr-x 1 fritz fritz 257 Dec 31 21:38 1.simbad.pl* drwxrwxr-x 7 fritz fritz 4096 Jan 2 01:27 .git/ -rw-rw-r-- 1 fritz fritz 721 Jan 2 01:08 README.md fritz@laptop:~/Documents/simbad3$ git branch -M main error: refname refs/heads/master not found fatal: Branch rename failed 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$

Busto again. I know I've lost it when I see:

fritz@laptop:~/Documents/simbad3$ git branch -M main error: refname refs/heads/master not found

Trying to understand this: git basics working with remotes

Just can't git her done....


In reply to Re^7: perl in the stars by Aldebaran
in thread perl in the stars by Aldebaran

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2023-12-11 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?