Saturday, October 13, 2012

git remind


And I will begin with :
git checkout revision/branch path/to/file
for checking out into the working tree a particular version of a particular file. So :
git checkout HEAD path/to/file
would revert all changes in file relative to the last commit index.

Push a local branch to a different remote branch :

git push -v -u remote_repo local_branch:remote_branch
as in git push -v -u origin github:master. -v is verbose -u is to set the local tracking the remote branch. Add -n for dry-run.
Push all branches/tags up to the remote repo :

git push --all
git push --tags

From here. Don't be in a hurry though - make sure you really want to push everything.

See all commits  messages in a range between commits abc... and def... affecting a single file :

git log oldhash..newhash -- path/to/inspect
 notice the 2 dots.

Ah - the subject of gitignore - this merits a post but for starters here is the syntax.
See all files that have the assume unchanged bit set :
git ls-files -v
I use the msgit gui to stage/commit separate lines/hunks. If ever interested in how one can do this via console (which sounds like an absolute chore) here is a great post about that.

Free private git repos are sought after. I went for assembla for a (school) project were I needed many (>5) people - but I'd go for bitbucket (I like the UI better). Github unfortunately does not offer private for free. Anyway - from the previous post I got two links describing how one could set up a git repo on their Dropbox account.

Links :

Git Reference
For windoz : http://nathanj.github.com/gitguide/tour.html

2013.09.21 19.01 UTC


Wednesday, September 5, 2012

eMule set up


The couple points I always have to look up that is :

Server lists and IP filter (from here) :

Options > Security
  • Select Filter servers too
  • In Update from URL, type (maybe outdated - I took it from here) : http://upd.emule-security.org/ipfilter_v149b.zip http://upd.emule-security.org/ipfilter.zip (check out the site - this list is updated frequently and the version is not in the Url anymore - so from time to time just click Load to update it)
  • Click on Load.

Options > Server

  • Set Remove dead servers after __ retries to 9
  • Click the List... button
  • In Notepad, that is opened, write this line and remove all others if any : http://www.peerates.net/servers.php
  • Save changes in notepad
  • Untick the options Update server list when connecting to a server/client
  • Click on Apply
Servers window :
  • Remove all servers from static list
  • Remove all servers from list
  • In Update Server.met from URL, type the same URL you did before (http://www.peerates.net/servers.php)
  • Click on Update
  • If you have selected Autoconnect only to servers on static list add the servers you want to static list
  • Click Connect

Misc :

Options > Extended : tick Show more controls

Options > Files :

  • Video player > Command :  C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
  • Untick Create backup to preview

Does not seem to need a special plugin anymore (?)

Options > Connection : tick Autoconnect on startup

Of course you 'll need to forward the ports

Last updated : 2013.03.25 13.31 UTC