Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
soc:2009:pravin:notes:start [2009/06/15 08:00] less1 |
soc:2009:pravin:notes:start [2009/12/27 06:18] (current) less1 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Pravin Shinde: boot.kernel.org - Universal remote network booting for the masses ====== | + | ====== place to log useful random commands ====== |
+ | |||
+ | Useful to find the dependency of given executable on other shared libraries. | ||
+ | <code> | ||
+ | ldd | ||
+ | </code> | ||
+ | |||
+ | ===== Useful information ===== | ||
+ | AndyTim: By the way, if you ever get the ^M problem again. | ||
+ | Try following it by a ^J | ||
+ | |||
+ | |||
+ | ===== Links to watch-out ===== | ||
+ | - [[http://unit.aist.go.jp/itri/knoppix/http-fuse/index-en.html|HTTP-FUSE-KNOPPIX]] someone has done if before also. | ||
+ | - [[http://paste.etherboot.org/?page=view&id=1239849078]] script to create automatic gpxe bootable USB | ||
+ | |||
+ | ===== For Shell script ===== | ||
+ | If you want to terminate execution of a shell script on encounter any error then | ||
+ | <code> | ||
+ | #!/bin/bash | ||
+ | set -e | ||
+ | </code> | ||
===== Useful git commands ===== | ===== Useful git commands ===== | ||
Line 13: | Line 34: | ||
</code> | </code> | ||
- | For pushing the first master repository from local to empty remote server repository, it can be done with | + | Adding remote head to cloned repository |
+ | <code> | ||
+ | git remote add master git+ssh://pravin@git.etherboot.org//pub/scm/people/pravin/BKO.git | ||
+ | </code> | ||
+ | |||
+ | For pushing the local master repository from local to remote server repository, it can be done with | ||
<code> | <code> | ||
git push master master | git push master master | ||
</code> | </code> | ||
+ | |||
Where you are pushing local branch called "master" onto remote branch called "master" | Where you are pushing local branch called "master" onto remote branch called "master" | ||
+ | |||
+ | ===== git submoduling ===== | ||
+ | |||
+ | to register the git submodules | ||
+ | <code> | ||
+ | git submodule init | ||
+ | git submodule update | ||
+ | </code> | ||
==== git bisect ==== | ==== git bisect ==== |