Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Ubuntu Help

  • This topic is empty.
Viewing 15 posts - 16 through 30 (of 44 total)
  • Author
    Posts
  • #182385
    nixnerd
    Participant

    now type this:

    cd test
    git status
    #182386
    Erik
    Participant

    Actually the

    erik@erik-Aspire-7551:~$ ls

    isn’t really has my real name.. seeing it’s not erik lol so yes it be nice to change it away from my real name.

    #182387
    Erik
    Participant

    Again got

    erik@erik-Aspire-7551:~$ cd test
    erik@erik-Aspire-7551:~/test$ git status
    On branch master

    Initial commit

    Untracked files:
    (use “git add <file>…” to include in what will be committed)

    test.html
    test/
    

    nothing added to commit but untracked files present (use “git add” to track)
    erik@erik-Aspire-7551:~/test$

    #182388
    nixnerd
    Participant

    But this here:

    erik-Aspire-7551

    That’s your hostname. Ubuntu always makes them super long. I like a nice short succinct host name. I’m thinking about being dave@HAL… which I’m sure @traq would appreciate.

    #182389
    nixnerd
    Participant

    Now without going anywhere type git add . Don’t forget the period.

    #182390
    Erik
    Participant

    yes there is a erik-Aspire-7551 .. I think

    and git add . did nothing

    #182391
    Erik
    Participant

    Might I suggest a Skype session so we not have to keep using the forum..?

    #182392
    Alen
    Participant

    and git add . did nothing

    It did you just didn’t see anything…

    http://rogerdudler.github.io/git-guide/

    #182393
    Erik
    Participant

    it did this

    erik@erik-Aspire-7551:~/test$ git add .
    erik@erik-Aspire-7551:~/test$

    #182394
    nixnerd
    Participant

    That’s correct. You shouldn’t see anything. Now you can commit with:

    git commit -m "Commit message"

    #182395
    Erik
    Participant

    erik@erik-Aspire-7551:~/test$ git commit -m “Commit message”

    *** Please tell me who you are.

    Run

    git config –global user.email “[email protected]
    git config –global user.name “Your Name”

    to set your account’s default identity.
    Omit –global to set the identity only in this repository.

    fatal: unable to auto-detect email address (got ‘erik@erik-Aspire-7551.(none)’)
    erik@erik-Aspire-7551:~/test$

    #182396
    nixnerd
    Participant

    Oh shit that’s right. You need to identify yourself. Just follow the directions.

    #182397
    Alen
    Participant

    Did you run these two commands?

    
    git config –global user.email “[email protected]”
    git config –global user.name “Your Name”
    
    #182398
    Erik
    Participant

    erik@erik-Aspire-7551:~/test$ git config –global user.email “[email protected]
    erik@erik-Aspire-7551:~/test$ git config –global user.name “Your Name”
    erik@erik-Aspire-7551:~/test$ ^Mgit config –global user.email “[email protected]”git’ found, did you mean:
    Command ‘dgit’ from package ‘dgit’ (universe)
    Command ‘qgit’ from package ‘qgit’ (universe)
    Command ‘jgit’ from package ‘jgit-cli’ (universe)
    Command ‘git’ from package ‘git’ (main)
    git: command not found
    erik@erik-Aspire-7551:~/test$

    #182399
    Erik
    Participant

    I’m so lost right now lol… starting to think this thing not worth the effort.

Viewing 15 posts - 16 through 30 (of 44 total)
  • The forum ‘Other’ is closed to new topics and replies.