Git Command

Below are just a list of commands for Git in the command line that I made a note on in my seminar with Rob.

cd = go to directory.

mkdir= make a directory

touch= make a blank file (can create lots files at once)

rm= remove

clear= clears the command line

../ back a directory

tab = completes a word

-a = all

git status= list the status of the git (shows whats being tracked and what isn’t and if they have been changed)

git add = tracks a file

git add . = tracks all files

git commit= commits any changes you’ve made should be followed with -am for all and for you to write a message about the changes

git push= pushes all changes

You should only upload small files, no PSDs or videos as the take up to much space.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s