GIT with bitbucket.org
Login to bitbucket.org
>create new repository name "bitstamp"
git config --global user.name "rayrosliabas"
git config --global user.email "rayrosliabas@gmail.com"
git config -l
git clone https://rayrosliabas@bitbucket.org/rayrosliabas/bitstamp.git
Enter password:
cd bitstamp
git pull
git add bitstamp-avg.js bitstamp.js
git commit -a -m 'add bitstamp.js & bitstamp-avg.js'
git push -u origin master
git status
git log
git checkout -b mynewbranch
git branch -av (list branches)
git checkout master (back to master)
git push origin branch (push branch to repo)
git diff master mynewbranch
git merge mynewbranch (merge branch to master)
git push origin master (push merged branch+master to repo)
>create new repository name "bitstamp"
git config --global user.name "rayrosliabas"
git config --global user.email "rayrosliabas@gmail.com"
git config -l
git clone https://rayrosliabas@bitbucket.org/rayrosliabas/bitstamp.git
Enter password:
cd bitstamp
git pull
git add bitstamp-avg.js bitstamp.js
git commit -a -m 'add bitstamp.js & bitstamp-avg.js'
git push -u origin master
git status
git log
git checkout -b mynewbranch
git branch -av (list branches)
git checkout master (back to master)
git push origin branch (push branch to repo)
git diff master mynewbranch
git merge mynewbranch (merge branch to master)
git push origin master (push merged branch+master to repo)
0 Comments:
Post a Comment
<< Home