Skip to content

Instantly share code, notes, and snippets.

@xpander54
Created April 26, 2014 06:26
Show Gist options
  • Save xpander54/11313188 to your computer and use it in GitHub Desktop.
Save xpander54/11313188 to your computer and use it in GitHub Desktop.
git status
/it all begins here!
git remote show origin
/show current git project adress
git add .
add all new files to the commit you about to commit
git commit -m 'commit data try to be clear'
/commits changes into one object, if you are working with other people in same project, you cant pull project until you done a commit, its not necesary to push
git push origin master
/after a commit it uploads the commit to git server, later you will have to do pull origin master if someone else do push on the repo
git pull origin master
get latest copy of the project, its important to upload changes everyday so its easy for all in the project to merge changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment