Removing Files from your Git Repository but not Locally
If you’re like me, you may have added one too many files to your git repository on a late night of coding… You don’t want to delete the files locally, so you can’t just delete the files and commit....
View ArticleGit: Delete Remote Branches
Deleting a remote branch seems is easy. First, delete the branch locally. git branch -d feature-to-delete Next, delete the branch remotely by “pushing” the deletion. git push origin --delete...
View ArticleThe Git Branching Model
This is a great article on the Git Branching Model. http://nvie.com/posts/a-successful-git-branching-model/ Basically, all development work should be done on a separate branch off the master, which we...
View ArticleGit: Deleting from a Remote Repo
Deleting a file or folder from git uses the rm command. Delete the folder locally and remotely. git rm dist git commit -m "Removing distribution files from repo." Delete the folder ONLY from the...
View ArticleHTML5 Slide Presentations
Found these awesome GIT resources for doing presentations or slides… http://lab.hakim.se/reveal-js – Reveal JS http://imakewebthings.com/deck.js/ – Deck.JS https://slides.com/ – A commercial host for...
View ArticleAdding an existing Heroku app to a second machine
If you often switch between machines (like a laptop and desktop), and want to work on the same application, here’s what you need to do on the second machine. Clone the Project If the project doesn’t...
View Article