Top Banner
GitHub for beginners A step forward WorkShop
69

Github for beginners workshop

Apr 16, 2017

Download

Software

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Github for beginners workshop

GitHub for beginnersA step forward

WorkShop

Laundry list of terms - Git

- Upstream - Staging - Commit

- Pull Request (PR) - Push - Pull - Fork

- Clone

The GitHub worldJoomla

code

Your code online

Your code local

Online Online

Online Offline

Joomla code

Read only Request information (pull)

Your code onlineRead and write Request information (pull) Send information (push) Create requests (branch)

Your code localRead and write Modify files Request information (pull) Send information (push) Create requests (branch)

Who is whoJoomla

code

Your code online

Your code local

upstream origin

Code structureStaging

Error in menu 2352

SQL error 2263

New plugin trigger 2153

Better image 2234

CSS optimising 2001

Branch

BranchTr

unk

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 2: Github for beginners workshop

Laundry list of terms - Git

- Upstream - Staging - Commit

- Pull Request (PR) - Push - Pull - Fork

- Clone

The GitHub worldJoomla

code

Your code online

Your code local

Online Online

Online Offline

Joomla code

Read only Request information (pull)

Your code onlineRead and write Request information (pull) Send information (push) Create requests (branch)

Your code localRead and write Modify files Request information (pull) Send information (push) Create requests (branch)

Who is whoJoomla

code

Your code online

Your code local

upstream origin

Code structureStaging

Error in menu 2352

SQL error 2263

New plugin trigger 2153

Better image 2234

CSS optimising 2001

Branch

BranchTr

unk

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 3: Github for beginners workshop

The GitHub worldJoomla

code

Your code online

Your code local

Online Online

Online Offline

Joomla code

Read only Request information (pull)

Your code onlineRead and write Request information (pull) Send information (push) Create requests (branch)

Your code localRead and write Modify files Request information (pull) Send information (push) Create requests (branch)

Who is whoJoomla

code

Your code online

Your code local

upstream origin

Code structureStaging

Error in menu 2352

SQL error 2263

New plugin trigger 2153

Better image 2234

CSS optimising 2001

Branch

BranchTr

unk

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 4: Github for beginners workshop

Joomla code

Read only Request information (pull)

Your code onlineRead and write Request information (pull) Send information (push) Create requests (branch)

Your code localRead and write Modify files Request information (pull) Send information (push) Create requests (branch)

Who is whoJoomla

code

Your code online

Your code local

upstream origin

Code structureStaging

Error in menu 2352

SQL error 2263

New plugin trigger 2153

Better image 2234

CSS optimising 2001

Branch

BranchTr

unk

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 5: Github for beginners workshop

Your code onlineRead and write Request information (pull) Send information (push) Create requests (branch)

Your code localRead and write Modify files Request information (pull) Send information (push) Create requests (branch)

Who is whoJoomla

code

Your code online

Your code local

upstream origin

Code structureStaging

Error in menu 2352

SQL error 2263

New plugin trigger 2153

Better image 2234

CSS optimising 2001

Branch

BranchTr

unk

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 6: Github for beginners workshop

Your code localRead and write Modify files Request information (pull) Send information (push) Create requests (branch)

Who is whoJoomla

code

Your code online

Your code local

upstream origin

Code structureStaging

Error in menu 2352

SQL error 2263

New plugin trigger 2153

Better image 2234

CSS optimising 2001

Branch

BranchTr

unk

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 7: Github for beginners workshop

Who is whoJoomla

code

Your code online

Your code local

upstream origin

Code structureStaging

Error in menu 2352

SQL error 2263

New plugin trigger 2153

Better image 2234

CSS optimising 2001

Branch

BranchTr

unk

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 8: Github for beginners workshop

Code structureStaging

Error in menu 2352

SQL error 2263

New plugin trigger 2153

Better image 2234

CSS optimising 2001

Branch

BranchTr

unk

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 9: Github for beginners workshop

Now practical Update language file

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 10: Github for beginners workshop

An online copyJoomla

code

Your code online

Fork

upstream origin

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 11: Github for beginners workshop

A local copyYour code online

Your code local

Clone

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 12: Github for beginners workshop

git clone gitgithubcomroland-djoomla-cmsgit

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 13: Github for beginners workshop

A branch

git branch -a

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 14: Github for beginners workshop

git branch language

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 15: Github for beginners workshop

Change a file

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 16: Github for beginners workshop

Change a file

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 17: Github for beginners workshop

Commit the codeYour code online

Your code local

Push

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 18: Github for beginners workshop

Commit

git commit -m ldquoFixed language filerdquo

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 19: Github for beginners workshop

More commitscommit commit commit commit commit commit commit

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 20: Github for beginners workshop

Put online

git push

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 21: Github for beginners workshop

Verify

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 22: Github for beginners workshop

Create Pull Request

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 23: Github for beginners workshop

Keeping up-to-date 1Joomla

code

Your code local

Pull

git pull upstream staging

upstream

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 24: Github for beginners workshop

Keeping up-to-date 2Your code online

Your code local

Pushgit push

origin

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 25: Github for beginners workshop

Keeping up-to-date 3Your code online

Your code local

Pullgit pull

origin

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 26: Github for beginners workshop

The circle is completeJoomla

code

Your code online

Your code local

Fork

PushPullPull

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 27: Github for beginners workshop

Some useful commands

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 28: Github for beginners workshop

Getting a copy of the code

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 29: Github for beginners workshop

git clone httpsgithubcomYOUR NAMEjoomla-cmsgit

clone

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 30: Github for beginners workshop

Remote connections

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 31: Github for beginners workshop

git remote -v

remote

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 32: Github for beginners workshop

git remote add upstream httpsgithubcomjoomlajoomla-cmsgit

remote

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 33: Github for beginners workshop

Get the latest and greatest code

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 34: Github for beginners workshop

git pull upstream staging

pull

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 35: Github for beginners workshop

What is happening

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 36: Github for beginners workshop

git log

log

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 37: Github for beginners workshop

Branching out

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 38: Github for beginners workshop

git branch git branch -a

branch

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 39: Github for beginners workshop

git branch language

creating a branch

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 40: Github for beginners workshop

git checkout language

changing to a branch

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 41: Github for beginners workshop

git branch -D language

deleting a branch

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 42: Github for beginners workshop

I messed up

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 43: Github for beginners workshop

git reset --hard HEAD

reset

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 44: Github for beginners workshop

Donrsquot lose your changes

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 45: Github for beginners workshop

git add git commit -m ldquoFixedrdquo

commit

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 46: Github for beginners workshop

echo lsquoMy JoomlaDay Italyrsquo

code

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 47: Github for beginners workshop

Status check

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 48: Github for beginners workshop

git status

alias

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 49: Github for beginners workshop

Share your changes

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 50: Github for beginners workshop

git push --set-upstream origin language

git push

push

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 51: Github for beginners workshop

Setup

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 52: Github for beginners workshop

git config -l

config

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 53: Github for beginners workshop

Short memory

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 54: Github for beginners workshop

git config --add aliasst status

alias

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 55: Github for beginners workshop

git config --add aliasl ldquolog --graph --date=shortrdquo

alias

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 56: Github for beginners workshop

git config --global --add aliasl ldquolog --graph --date=shortrdquo

alias

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 57: Github for beginners workshop

Cleaning up

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 58: Github for beginners workshop

git clean -fd

clean

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 59: Github for beginners workshop

Check a GitHub pull request

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 60: Github for beginners workshop

curl httpshellip | git apply --check

apply

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 61: Github for beginners workshop

Apply a GitHub pull request

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 62: Github for beginners workshop

curl httpshellip | git apply

apply

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 63: Github for beginners workshop

Revert a GitHub pull request

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 64: Github for beginners workshop

curl httpshellip | git apply -R

apply

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 65: Github for beginners workshop

Give me more information

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 66: Github for beginners workshop

git log -v git branch -v git status -v git remote -v

-v

verbose

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 67: Github for beginners workshop

Getting help

git -h git log -h

git config -h git branch -h git status -h

hellip

help

Page 68: Github for beginners workshop

git -h git log -h

git config -h git branch -h git status -h

hellip

help