Tagged: git hub RSS Toggle Comment Threads | Keyboard Shortcuts

  • Abhimanyu 10:07 am on March 22, 2012 Permalink | Log in to leave a Comment
    Tags: git, git commands, git hub   

    Easy Git walkthrough (must check) 

    git init

    To ignore the svn directory already present
    ————————————————————–
    cat > .gitignore
    .svn/
    .gitignore

    Staging the newly modified files
    ——————————————-
    git add .
    git status

    if by mistake the svn files get added, don’t panic, to unstage all the staged files
    —————————————————————————————————————–
    git rm –cached -r .
    git add .

    Check again if it’s done
    ———————————-
    git status

    git commit -m “Importing Restaurant Madness Theme”

    Check for existing shortname handles
    ——————————————————-
    git remote

    If none are present, create a new one
    ——————————————————
    git remote add rm git@code.rtcamp.com:restaurant-madness.git

    Check again now
    ————————-
    git remote
    git push rm master

    remove the .gitignore file we created
    —————————————————-
    rm .gitignore

    VN:F [1.9.17_1161]
    Rating: +3 (from 3 votes)
     
  • Tapan Bojja 4:09 pm on February 6, 2012 Permalink | Log in to leave a Comment
    Tags: git hub, svn   

    Difference between GIT and SVN. 

    http://bit.ly/Am5YRA

    VN:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel