9
aizu
6y

Interviewer: Can you rate 0-10 your git skill?

Comments
  • 2
  • 13
    5

    Git clone
    Git add .
    Git commit
    Git push
    Git pull

    That’s all I know
  • 3
    HEAD^10
  • 5
    3

    I am familiar with clone, commit, init, pull, push, status, branch, merge, fetch, checkout, add, rm, and probably a couple other commands. I use git every day, but only in my little silo. I still don't really know enough about stash and rebase.
  • 6
    I know enough to do my job and the rest is a giant mystery.
  • 2
    @bahua stash is one I actually use a lot.
  • 2
    It depends on how awake I am. If I'm sleepy, I'm a 3. I'll accidentally add my dotfiles and then have to go undo everything because I don't feel like figuring out which chain of commands I need for a good forcepush state. Except undoing is too much work, even with git bisect (worth learning how to use!) So I'll just reclone and add all my changes back at once in a big commit.

    When focused I'd say maybe a 7-8 (heh, I'm pretty confident, throwing around my rebases and stashes and cherrypicks over here and don't forget about reflog when in trouble).

    But in all seriousness I don't know what would make someone a 10, so I can't really guess where I'd put myself. I could be closer to a 5.

    One thing I can say, to all you who commit massive zip files of code, or binaries, or even other git repos: shame on you. I hate that. Please look into git-lfs, and use git submodules. They exist for a reason :)

    Also I love git-annex, though it has a bit of a learning curve before you can really use it.
  • 2
    Look at that, exactly 1000 chars.
  • 4
    git init
    git clone
    git add -A
    git status
    git log
    git diff (commit id)
    git commit -m "commit message"
    git pull
    git push
    git branch branchname
    git checkout branchname
    git merge currentbranchname

    So I'm at least a perfect 12/10. ;)
  • 2
    @arcadesdude guess that means @devTea has 5/7 perfect score
  • 1
    Can I add - in front of 10??🤔😂😂😂
  • 1
    Depending on the availability of the manual and access to the stack overflow.
  • 2
    -10, 0xff, 11, AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

    Don't just tell him, go in for the buffer overflow. Maybe you can overwrite the memory address with your salary.
  • 2
    Me: Yes.
  • 1
    Solid 8, but nearing 9. After I can handle the "plumbing" if needed then 10.
  • 1
    4 i guess
    But the answer to interviewer's question would be "no"
  • 0
    Using embedded Git on Android Studio. It's very easy and simple but just has a problem: u can't remove any file from here.
Add Comment