Thursday, 9 June 2016

Bitbucket or Git Commands Sequence

HOW TO REBASE USING COMMAND LINE
In this example you want to copy all the changes from branch release/v1.0.0 into your branch.
go to your branch then type this commands

git pull
git pull --rebase origin release/v1.0.0



HOW TO COMMIT SOME CODE
git pull

git add -A

git commit -m "your remarks"  

git push




Removing a file

git rm "Filename.txt"




Conflicts tools

git mergetool
Share:

0 comments:

Post a Comment

Popular Posts

Recent Posts

Pages

Powered by Blogger.

About Me

My photo
For the past 10 years, I've been playing with codes using PHP, Java, Rails. I do this for a living and love new things to learn and the challenges that comes with it. Besides programming I love spending time with friends and family and can often be found together catching the latest movie or planning a trip to someplace I've never been before.