Bitbucket – Terminal Commands
Usually i use bitbucket by passing from SourceTree a bitbucket client that able to manage repositories from local to bitbucket.
I understood that learn to use bibucket from shell is much faster and easily than i had thought.
So i made a list of main commands that you can use on shell:
git status => Show the repo status git add => Add file that aren't traced git commit -m " message for the commit " => Commit files git push => Push files git pull => Pull files git checkout master => Checkout Master git merge remotes/origin/develop => Merge master and develope
Best Practise:
– Every time you need to made a commit, before you can do that, you must made a “git add . ” for add all new files to the project.
– After this you can do a Commit and a Pull