Some Sample Git Commands for beginners






If using bit bucket, it takes certain steps for granted and as such can give you lot of pain. But here is how I fixed this issue. In your root directory of your project

    git init
git add .
git commit -m "message"



Then follow the steps from the initial page of the repo

    git remote add origin https://xxxx@bitbucket.org/xxx/xxx.git
git push -u origin --all
git push -u origin --tags



Hope I've helped someone!




Comments

Popular posts from this blog

Why Mark Zuckerberg’s Choose 4

Error message when I run sudo: unable to resolve host (none)

Convert MBR to GPT