Quantcast
Channel: My Girlfriend Hates This Blog » git
Browsing latest articles
Browse All 6 View Live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Git: 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 Article


Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

Git: 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 Article

Image may be NSFW.
Clik here to view.

HTML5 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 Article


Image may be NSFW.
Clik here to view.

Adding 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
Browsing latest articles
Browse All 6 View Live