Skip to content

Instantly share code, notes, and snippets.

@insidenothing
Created October 20, 2010 13:38
Show Gist options
  • Save insidenothing/636412 to your computer and use it in GitHub Desktop.
Save insidenothing/636412 to your computer and use it in GitHub Desktop.
Create folder on desktop, name it exactly after the repository.
Right click on folder “Git Bash Here”
git init
(this will get the folder ready for git usage)
git pull [repo ssh string] master
(this will pull the master/head from github)
git add -A
(this will add all new files)
git rm [filename to remove]
(this will remove any files)
git commit -a
(this will commit all changes, new files and removed files)
git push [repo ssh string] master
(this will push changes to github)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment