1 Web Design Workshop DIG 4104c Spring 2012 Dr. J. Michael Moshell and Mr. Adam Lenz University of...

23
1 Web Design Workshop DIG 4104c Spring 2012 Dr. J. Michael Moshell and Mr. Adam Lenz University of Central Florida Lecture 6: Bitbucket www.redbugbblle.co m

Transcript of 1 Web Design Workshop DIG 4104c Spring 2012 Dr. J. Michael Moshell and Mr. Adam Lenz University of...

1

Web Design Workshop

DIG 4104c

Spring 2012Dr. J. Michael Moshell

and Mr. Adam Lenz

University of Central Florida

Lecture 6:

Bitbucket

www.redbugbblle.com

-2 -

Topic 2: BitbucketA free online git repository

your repoin bitbucket

your repo inyour computer

-3 -

Topic 2: BitbucketA free online git repository

add and commit

-4 -

Topic 2: BitbucketA free online git repository

push

-5 -

BitbucketSetting up your bitbucket account

(Jon’s video shows how ... we’ll DO THIS in lab on Monday) http://vimeo.com/jonfriskics/bitbucket-setup

1. Create the bitbucket account2. Create an RSA Key Pair on your computer

-6 -

Topic 2: BitbucketSetting up your bitbucket account

(Jon’s video shows how ... we’ll DO THIS in lab on Monday)

1. Create the bitbucket account2. Create an RSA Key Pair on your computer3. Provide your public key to bitbucket4. Test with ssh

(secure shell, like ‘telnet’)

(The video goes VERY fast; freezeand replay as necessary.)

-7 -

Topic 2: BitbucketSetting up your bitbucket account

(Jon’s video shows how ... we’ll DO THIS in lab on Friday)

5. Create a repo on the bitbucket server(It's empty)

-8 -

Topic 2: BitbucketSetting up your bitbucket account

(Jon’s video shows how ... we’ll DO THIS in lab on Friday)

5. Create a repo on the bitbucket server6. clone the repo onto our local hard drive

via git command-line

NOTE: This creates BOTH the working tree folder and the empty repo within it.

-9 -

Topic 2: BitbucketSetting up your bitbucket account

7. Locally create a file in the working tree folder(where you created the local repo)

* Jon created a README file

README

-10 -

Topic 2: BitbucketSetting up your bitbucket account

8. Tell SmartGit about the local repo

README

-11 -

Topic 2: BitbucketSetting up your bitbucket account

8. Tell SmartGit about the local repo

README

-12 -

BitbucketStage and commit the file

README

README

-13 -

BitbucketStage the file

-14 -

BitbucketCommit the file

-15 -

BitbucketCommit the file

-16 -

BitbucketUh ... it DISAPPEARS!?

-17 -

BitbucketUh ... it DISAPPEARS!?

But remember the famous "Unchanged File" gotcha:::

-18 -

BitbucketUh ... it DISAPPEARS!?

But remember the famous "Unchanged File" gotcha:::

-19 -

BitbucketHead (bitbucket) and Working Tree are the same

But remember the famous "Unchanged File" gotcha:::

-20 -

BitbucketNow let's PUSH the local commits 'upstairs'

-21 -

BitbucketNow let's PUSH the local commits 'upstairs'

README

README

-22 -

README

README

README

-23 -

We'll actually DO this process in the lab on Friday

so as to get you used to working with SmartGit andBitbucket.

MEANWHILE

Please study the JqueryMobile material, becausewe'll be working with that on Friday too.